Fix for error caused by updating Yoast WordPress SEO plugin
I logged into one of my WordPress sites today and noticed that the (normally) excellent WordPress SEO plugin by Yoast needed to be updated. I updated as usual and then noticed that my dashboard returned a 500 Internal Server Error.
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
One Response to "Fix for error caused by updating Yoast WordPress SEO plugin"
Pingback: Wordpress SEO Killed My Site | Webologist