Parse error : syntax error, unexpected end of file in /home/vol1_3/epizy.com/epiz_30569901/htdocs/wp-includes/deprecated.php on line 3895
Notice : is_embed was called incorrectly . Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol1_3/epizy.com/epiz_30569901/htdocs/wp-includes/functions.php on line 5768
Notice : is_search was called incorrectly . Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol1_3/epizy.com/epiz_30569901/htdocs/wp-includes/functions.php on line 5768
OK thanks for that. My file now matches yours, ending on 3905, but now the error has shifted to 3905, so deprecated.php must be corrupt somewhere. Is it possible to replace the entire file? Failing that it will have to be a reinstall I guess.
Absolutely! Or better yet, follow the guide that @KangJL already shared, which ensures that all files in your WordPress installation are correct, without any data loss:
Thanks for all the help guys
Trying to patch didn’t work, so I carried out a full reinstall successfully.
It turns out that WP introduced an update overnight, which failed, so that is the root cause of the problem. Updating to 5.9 failed also, and caused corruption previously, so now I need to understand why these updates are failing regularly.
Being unaware of the 5.9.1 update (until site was back up), I reinstalled from my saved 5.9 version. Once back up, I attempted the update from admin screen, but this also failed. I have now downloaded 5.9.1 and uploaded to site and all is now back at the new version.
My question is, why are manual ‘dashboard’ and auto updates routinely failing?