Parse error after migration
-
We recently migrated our multisite installation to a new server. I have encountered a few different headers not sent errors in the backend and now twice the frontend has thrown a php parse error from wp-includes/class-http.php. When I inspected the file, the end of it had been cut off right in the middle of <?php declarations; hence the error. My solution for this (a stop gap really as it’s a live site) has been to simply overwrite the file from backup, however this will obviously be ongoing. The headers sent errors have not come back after being fixed, but the parse error has twice now and I expect will continue.
My guess is that we have a plugin attempting to write to this file and failing to complete. Has anyone encountered this before? We are using MANY plugins, so isolating it will be a challenge as I have no idea how to reproduce the error and therefore no way to check if it’s fixed.
Site is http://legalnursenetwork.com. I have run securicheck scanner and it comes up clean.
Any insight into possible culprits would be appreciated before wiping all plugins and reinstalling all of them.
The topic ‘Parse error after migration’ is closed to new replies.