wp-cache-config.php file getting Corrupted
-
Recently (starting on the 4th of this month from what I can see), the …/wp-content/wp-cache-config.php file has been becoming corrupted every few days (virtually at random from what I can see). This issue has not happened in the past and I’ve had the WP Super Cache plugin installed and active for almost 2 years.
What I am seeing are parts of the coding in the file being replaced with:
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????$wp_
Depending on where the corruption occurs in the file it can cause certain parts of the site to not work, or, at times, it can cause every page to throw a 500 error.
The error shown in my PHP Error Log is usually a Syntax Error due to these unexpected strings of REPLACEMENT CHARACTERS. This is only happening to this one file as far as I can tell.
I have not installed any new plugins, nor have I made changes to the WP Super Cache settings.
When the error arises, I remove the corrupted code, clear the cache from the dashboard, and then everything works fine again for a day or so (sometimes it is several days until it happens again) and then the corruption happens all over again (usually in a different part of the file, sometimes affecting 2 areas of the file and with different numbers of the REPLACEMENT CHARACTER).
What could be causing this issue?
Thank you in advance.
- The topic ‘wp-cache-config.php file getting Corrupted’ is closed to new replies.