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”
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.