WordPress SEO Killed My Site, Momentarily

Today I upgraded WordPress to the latest version and also upgraded all the plugins with new versions. On updating Yoast’s WordPress SEO plugin my site died. It was totally offline with only these words in the browser to guide me:

Fatal error: Call to undefined function update_options() in /home/*******/public_html/wp-content/plugins/wordpress-seo/admin/class-admin.php on line 441

I FTP’d to the server and deleted the WordPress SEO plugin to get the site back online.

There is a solution though, although I have not yet tried it myself. I raised this issue on WordPress.org and another user, darrenjhayes, shared the solution.

“Turns out that the latest update released by Yoast caused this error. I turned on debug in my WP Config file and got more details about this error:

“Fatal error: Call to undefined function update_options() in ../httpdocs/wp-content/plugins/wordpress-seo/admin/class-admin.php on line 441″

If you have FTP access to your files, you can fix this error by following these steps:

Find the file that is causing the error: “wp-content/plugins/wordpress-seo/admin/class-admin.php”
Go to line 441
Change update_options to update_option
Save the file and reload your dashboard – it should work again”

http://www.dajo.ie/2012/08/fix-for-error-caused-by-updating-yoast-wordpress-seo-plugin/

Hopefully Yoast will be issuing an official fix soon. For the time being I will live without it – consider it an experiment to see if rankings are affected by not having it for a few days!

Update: WordPress SEO has been working perfectly well since the last update.

  2 comments for “WordPress SEO Killed My Site, Momentarily

  1. Giulia
    October 4, 2012 at 6:27 pm

    Having the same issue. How did it go without it?

  2. Webologist
    October 7, 2012 at 8:17 pm

    I cannot remember exactly what I did now….. but it is working again. I think I simply waited for the next WordPress SEO upgrade and that worked. Is your WordPress installation up to date now?

Leave a Reply

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