Close

Account

Documentation

Forum

Menu

Reply To: Error when saving Reviews – and BugFix

Post count: 10
Nooky
October 14, 2015 at 8:31 am #15222

Of course we have installed the newest version 1.1.0 – this exactly is the problem..

We manually fixed this bug with your instruction above in your first post.. but the new version 1.1.0 overwrote this manually change and “reinstalled” the bug again..

You can verify that be going into your theme package 1.1.0 – got to the admin folder and open the file “jmagz-themes\admin\metabox-option.php”

In line 24 you can still see the old code and can see, that there still will occure an error (division by zero) if the value if $numberofrating is zero..

This is always the case if you enter a new review and try to save it without entering any voting criteria..

So you have to wrap these lines with an “if not” as it is described here:
http://pastebin.com/Z2phbn8J

please check again