Hello,
Updating Customer Reviews for WooCommerce to the latest version does not fix the issue.
The settings page still shows:
“The link you followed has expired”
or
“Sorry, you are not allowed to access this page.”
Fatal error:
Call to undefined method CR_Reviews::get_star_rating_html()
File:
/wp-content/plugins/customer-reviews-woocommerce/templates/cr-review.php
Line 149
I suspect the plugin files/settings may be mismatched after update/rollback/reinstall/restore, or PHP OPcache may still be loading old files.
Please advise how to safely repair the plugin installation and restore access to settings without losing our existing configuration/design/review reminder setup.
Hi,
Thanks for using CusRev.
The function get_star_rating_html is removed in a new version of our plugin. It could be a caching issue or the plugin file not updated. I suggest you delete the current plugin, download a fresh version of our plugin https://downloads.wordpress.org/plugin/customer-reviews-woocommerce.5.108.0.zip
and re-install it on your site.
Hello,
We followed your recommendation and reinstalled a fresh copy of Customer Reviews for WooCommerce 5.108.0.
Our host also confirmed:
- The old plugin folder was removed
- PHP OPcache/server cache was cleared
- The plugin was freshly installed
However, we still cannot access the Settings page.
The Settings page still shows:
“The link you followed has expired”
or
“Sorry, you are not allowed to access this page.”
We are logged in as Administrator. Other plugin pages like Diagnostics work, but Settings does not.
Can you provide the exact correct admin URL/page slug for the settings page?
Please advise the next step. Is there a database option, capability, license setting, or admin page slug that may be corrupted?
Hi,
Thanks for your additional information.
That’s weird. If you are an administrator, you can access the plugin settings page properly. Can you please try to deactivate all plugins except CusRev, WooCommerce, switch to a WordPress theme and recheck the issue? Or create another admin account and visit the settings page again.
We haven’t heard from you for more than two weeks. For this reason, I’ll assume that either you are not interested in this question/problem anymore or it has been resolved. If you still require any help, please start a new forum topic.