And we are back!!

WordPress.org logo - Manually updating WordPress

I have had a bit of a nightmare with WordPress for the last few weeks. It seems that an automatic update at the end of last year didn’t work as it should have and a number of the core WordPress files were missed out during the update. The result was the blog went offline and should did the admin dashboard! I had no way of getting into it to fix it!

Here’s the error message I was getting: “PHP Fatal error: Cannot redeclare _wp_register_meta_args_whitelist() (previously declared in /home/j6yrsllk82zz/public_html/blog/wp-includes/meta.php:1394) in /home/j6yrsllk82zz/public_html/blog/wp-includes/deprecated.php on line 4060”.

So today was spent getting things back up and running. Fortunately, it seems to be back working

The fix entailed:

  • Background reading on what to do and how. Unfortunately, I am not a WordPress expert;
  • Backing up all of the content and the database for my blog (I didn’t want to lose any content);
  • Installing a new clean set of WordPress files and overwriting any old ones that might have got corrupted previously;

Now we are back up and running. We are on the latest version of WordPress (5.7) and I everything looks like it is working as it should. I haven’t had chance to check all the pages, but it looks like there isn’t anything missing. And the good news is that the content is backed up too! All 2.3Gb of it!

There is a good article here on what to do if you need to manually install WordPress: https://wordpress.org/support/article/updating-wordpress. I also found this video helpful too: https://youtu.be/5UH7F_tGyRs

Leave a Reply

Your email address will not be published. Required fields are marked *