There seems to have been a bug introduced in either version 7.1.4 or 7.1.5 of the plugin. It has not been fixed with vs 7.2. I am currently using version 7.1.3 which does not have the bug.
Using any plugin version higher than 7.1.3, I see the following error on select pages of my website:
Warning: A non-numeric value encountered in xxxxxxx/public/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php on line 548
This error shows on some pages where I have reviews enabled and am using shortcodes to show review averages.
Please update the wpDiscuz to the latest version (v. 7.2.0) and navigate to Dashboard > wpDiscuz > Forms admin page, edit the form, and just click on the "Update" button. Then delete all caches and check again.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Please navigate to Dashboard > wpDiscuz > Tools admin page click on the "Rebuild Ratings" button.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue for you.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
We don't find such an issue on our test websites. This is something specific in your case.
I may suggest you create a dev/staging copy of your website in some sub-domain. Remove all information that you don't want to share, make sure the problem exists and send admin details to us. You can use Duplicator to create that site.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
@asti It is not specific to my site. I just tested on a brand new site with nothing on it. I now have this problem on 3 websites. After further troubleshooting, I have found the problem. You should be able to replicate it on your end and update the Wpdiscuz plugin to fix it.
Create a form or edit the default form and use multiple custom rating fields with it. Set "allow post rating" to no in the form. Create a post and use the shortcode [wpdrating show-average = false] with that post. Publish the post. Leave a comment on the post that gives ratings for each field. Publish the comment. You will then see the averages for each custom rating field in the post. Everything looks fine and is working as it should at this point. Now go to the Wordpress dashboard to manage your comments. Delete the comment with the ratings that you just published. Return to the post you created on the front end and the previously reported error will be there. Furthermore, you'll see NAN shown as a rating for each field.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
I've noticed there have since been two updates out to the plugin since this issue was reported. The issue has still not been fixed. Is there an update to the timeline for this?
The issue should have already been solved. Please check again and make sure it's not an old error.
Also, please leave a screenshot of the error.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.
Save the changes, delete all kind of caches and check again.
Let usknow if you still see the issue.
In case you want to say thank you! 🙂 We'd really appreciate if you leave a good review on the plugin page. This is the best way to say thank you to this project and the support team.