@vanessa6297 It looks like due to file permissions error, WP-Optimize is unable to add the constant to wp-config.php file.
Can you please reset the permissions to 0644 for wp-config.php file?
If you are unable to reset the permissions then please add the following line just after <?php in wp-config.php file
define('WP_CACHE', true); // WP-Optimize Cache
How would I go about resetting the permission to the file? I’ve never done that before.
@vanessa6297 You can do it using cPanel file manager, browse to public_html folder and right click on the wp-config.php file, you should see change permissions, click it and set the file permissions to 0644.
Or you can manually edit the file and add following line just after <?php
define('WP_CACHE', true); // WP-Optimize Cache
OK thank you I’ll try that. If I have any other issues I’ll ask again.
the issue was resolved thank you again for your help.
Hi, I am having the same issue with error message ” Could not turn on the WP_CACHE constant in wp-config.php. Check your permissions.”
I have tried setting the file permissions to 0644 and also adding the line “define(‘WP_CACHE’, true); // WP-Optimize Cache” but nothing seems to be working.
Anything else I can do?