WP Optimize cache issue

When I try to enable the page caching option for the site https://horseriding-holidays-andalucia.com/ it gives this error code:

“Could not turn on the WP_CACHE constant in wp-config.php. Check your permissions.”

What could be the issue and how to solve it? Thank you in advance.

Hi Minna,
Thanks for reaching out.

Regarding the message, the plugin is trying to add the define('WP_CACHE', true) to the wp-config.php file of your site, and unable to add due to the file permission.
By default, WordPress will set WP_CACHE to false if it’s not already defined and will not load the advanced-cache.php file. All of this is triggered when WordPress first boots up, i.e. loaded from the wp-config.php file.
Please make sure that define('WP_CACHE', true); is present in the wp-config.php file. If it’s not there, you can add it manually via any FTP editor.

If that does not help, I would like to suggest you report the plugin author. Please remember that we don’t offer any support to the 3rd Party plugin and issues related to it.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.