Jump to content

non-numeric value encountered


JOSSm

Recommended Posts

Hello I have changed my PHP version to 7.2
and i get this error 

(1/1) ContextErrorException

Warning: A non-numeric value encountered

in ratingsnippets.php line 720

This is the line:

 $rating_width = @number_format($current_rating / $count, 2) * $rating_unitwidth;

The error is in $ count because if I change it manually it works

Thanks in advance

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...