Plugin Author
Brecht
(@brechtvds)
Do you have the rating features enabled on the WP Recipe Maker > Settings > Recipe Ratings page?
You could try just running the “Find Ratings” tool a second time. Sometimes that forces the cache to clear and things to show up again.
Hi,
Do you mean these (https://prnt.sc/p1kmvh) options? It has been enabled on all the time.
I have run the “Find Recipe Ratings” 3 times, but that did not help. Then I deactivated all the plugins and tried again. It also did not help.
The recipe in the database also has 0 rating (https://prnt.sc/p1lspc) although it used to be 4.97 (https://prnt.sc/p1lqvl).
Maybe you have any idea what it could be?
Thanks!
Plugin Author
Brecht
(@brechtvds)
Does the wprm_ratings database table exist in the database? That’s where the ratings are stored for performance reasons.
The table wprm_ratings exists in the database, but the recipe with id 27514 does not exist in the table (https://prnt.sc/p1mi29). All recipe_ids in the table are equal to zero https://prnt.sc/p1mn4k
Plugin Author
Brecht
(@brechtvds)
That’s normal for comment ratings. The post_id should not be 0 though.
Try disabling all other plugins for a second, use the “Find Ratings” button again and see if it works then.
No, it doesn’t work. I had activated the default theme and deactivated all other plugins, but the post_id is still 0. The option “Find Ratings” has been run 2 times
When I roll back the plugins (WP Recipe Maker to version 5.2.1 and WP Recipe Maker Premium to 5.2.0) the option “Find Ratings” works well. But I would like to use the latest versions
Plugin Author
Brecht
(@brechtvds)
Could you email us at [email protected] to further debug things?
Plugin Author
Brecht
(@brechtvds)
If anyone else ends up here: the problem was related to the wprm_ratings table not being the latest version.
In WP Recipe Maker 5.5.0 we added some code to check the table version and update it if necessary. This now happens automatically when using the “Find Ratings” button.