Hello, I was wondering if you could also propose something for me as well regarding this issue.
Here is the code that produces the error:
$ratings = $jdb->loadObjectList();
$rating = ( $ratings[0]->rating_sum / $ratings[0]->rating_count );
$rating = round($rating, 0);
if ( count ( $ratings ) > 0 ) {
blah blah blah
I can see the problem, only I don't know how to fix it.
Any assistance is greatly appreciated. thanks!
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.