Call to undefined function update_options

Call to undefined function update_options()One of the first plugins I installed on my website, was the WordPress SEO plugin by Yoast. A great tool to enhance your on site search engine optimization and this all for free. (Although the author seems to appreciate some gifts.)



You’ll find detailed information about the WordPress SEO Plugin on it’s own website


“Call to undefined function update_options()”

Recently, an update to the newest version has become available. This update should work with WordPress 3.4.1. The update went real smooth from within the backend of WordPress. However, a fatal error occurred as soon as you tried to navigate to a page or your backend.

PHP Fatal error:  Call to undefined function update_options() in /path/to/your/wordpress/root/wp-content/plugins/wordpress-seo/admin/class-admin.php on line 441


Correct line 441 in the file /path/to/your/wordpress/root/wp-content/plugins/wordpress-seo/admin/class-admin.php

Apparantly, there’s a little typo in the php file class-admin.php on line 441. This is the original statement:

update_options( 'wpseo', $options );


You have to change this line to:

update_option( 'wpseo', $options );


Don’t forget to save your file! Now you should be able to navigate to your website or backend again.

It's only fair to share...Share on Facebook
0Tweet about this on Twitter
Share on LinkedIn

1 Comment

  1. BigWilly · August 29, 2012 Reply

    well done my son!

Leave a Reply