WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] The latest update is broken (34 posts)

  1. ssiddiqi1
    Member
    Posted 1 year ago #

    The latest update is broken. I have to revert to previous version from backup. I cannot acccess my Admin Pane after updating. It gives an error
    Fatal error: Call to undefined function update_options() in /home/ssiddiqi/public_html/wp-content/plugins/wordpress-seo/admin/class-admin.php on line 441

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. eibhlin
    Member
    Posted 1 year ago #

    I'm having the exact same issue. I can get to my dashboard, but I can't access plugins.php, widgets.php, and so on. The site looks fine, but the plugin has broken much of my dashboard functionality.

    Since I often auto-update my plugins with desktop software, this could have been a horrendous problem across my sites.

    I'm using the current version of WP, editing from Windows 7 Home, and most of my themes are based on Artisteer, if that makes any difference.

  3. TheOnlyAnil
    Member
    Posted 1 year ago #

    same same same. Can't access the dashboard. Joost de valk did it wrong this time :/

    How to overcome now? Have to delete the plugin from CPANEL? and reinstall??
    will it remove the settings and all? :O

  4. ssiddiqi1
    Member
    Posted 1 year ago #

    You can ftp to your /wp-content/plugin/wordpress-seo/admin/ download admin-class.php to your desktop by ftp and edit the admin-class.php
    On line 441, chanhe update_options to update_option, then upload the file to the /wp-content/plugin/wordpress-seo/admin/. Or, use the version 1.2.7 from your backup.

  5. eibhlin
    Member
    Posted 1 year ago #

    Yes, for many people, the simplest solution is to delete the plugin via cPanel > File Manager > wp-content > plugins

    I didn't have a backup copy of 1.2.7, so I'm not sure if everything has been lost from the settings, but -- in most cases -- restoring after this kind of issue means the settings are still in the database.

    If you delete the plugin and don't restore (or revert to) with 1.2.7, you may need to re-edit your Header.php so your website title shows up again at the top of your browser.

    I'm hoping this plugin is fixed, quickly.

  6. clashmedia
    Member
    Posted 1 year ago #

    hmmm looks like time to go back to all in one :(

  7. sbaldock
    Member
    Posted 1 year ago #

    Me too.

    Anyone got v1.2.7 I can put back on?!

    I'm running WP v3.3.1 (I know!) but update does say works from v3.1 upwards ... !

  8. ssiddiqi1
    Member
    Posted 1 year ago #

    Why not just edit the admin-class.php? Anyway, if you want you can download my fixed version 1.2.8 from http://www.shaadiconnections.com/wordpress-seo.zip. I will delete it as soon official version is fixed at the WordPress, so it only as interim solution.

  9. treelabs
    Member
    Posted 1 year ago #

    It's always the same thing with new updates of this plugin!!

    Even this time sitemaps are blak!!

    I'm getting fed up!!!

  10. ssiddiqi1
    Member
    Posted 1 year ago #

    Sitemaps are not blank. Are you sure, you did not make mistake when configuring sitemaps

  11. sbaldock
    Member
    Posted 1 year ago #

    Phew! thanks, ssiddiqi1, your fix appears to have worked! Very quick solution!

    At least, admin now works. We'll see whether the plugin generally operates as I'm used to!

  12. TheOnlyAnil
    Member
    Posted 1 year ago #

    It got resolved, automatically.

  13. ssiddiqi1
    Member
    Posted 1 year ago #

    @TheonlyAnil
    WHat do you mean by got resolved automatically? A bug in the code does not resolve automatically. The new version 1.2.8.1 was released with the fix. You must have updated it.

  14. eibhlin
    Member
    Posted 1 year ago #

    After uninstalling the plugin, I saw Anil's post and re-installed what's still described as 1.2.8.1. It seems to be working now. I'm not sure why, and I've only tested this with one website so far, but it does look like the problem has been resolved.

    [Update: I tried the update on a second website, and it worked fine on the first try.]

    I'd have been a lot happier if the fixed plugin had been renamed 1.2.8.2, or something like that.

  15. TheOnlyAnil
    Member
    Posted 1 year ago #

    @ssiddiqi1 I don't know how did it resolve automatically. I was refreshing the dashboard every minute and didn't delete or update anything in Cpanel as I didn't want to lose the settings.

    After a few page reloads I got access to WP dashboard.

  16. TheOnlyAnil
    Member
    Posted 1 year ago #

    UPDATE: WordPress automatically deactivated and deleted the plugin.

  17. manoucho
    Member
    Posted 1 year ago #

    Same issue here, access to WP admin is broken...

  18. manoucho
    Member
    Posted 1 year ago #

    And ssiddiqi1 posted the right fix. 1000 thanks !

  19. rrhobbs
    Member
    Posted 1 year ago #

    Update 1.28.1 fixed all 1.28 errors I encountered

  20. Jon
    Member
    Posted 1 year ago #

    If you cannot access your wp admin panel, how are you supposed to install the fixed version of the 1.28.1 plugin? I have access to edit the files through my c-panel, but it doesn't appear I can simply disable a plugin there. I'd rather not loose all the settings if I can help it. Anyone care to offer suggestions on how to disable the plugin from file manager or what to edit in the admin_class.php file to get into the wp admin panel to open again? Thanks in advance for your help.

  21. tash46
    Member
    Posted 1 year ago #

    If you rename the plugin folder for wdpress seo to something like wordpress seo1 in cpanel it then disables the plugin. You can then make the change to the file on line 441 - and then go back to the original name. This should theoretically work ....,

    tash46

  22. Jon
    Member
    Posted 1 year ago #

    Thanks tash46, do you know what needs to be corrected on line 441?
    rtech451

  23. ideafarmer
    Member
    Posted 1 year ago #

    You can ftp to your /wp-content/plugin/wordpress-seo/admin/ download admin-class.php to your desktop by ftp and edit the admin-class.php
    On line 441, chanhe update_options to update_option, then upload the file to the /wp-content/plugin/wordpress-seo/admin/. Or, use the version 1.2.7 from your backup.

    The file name is actually class-admin.php.

    Thanks, ssiddiqi1. Your fix worked great! I was able to access the dashboard on update the plugin.

  24. Jon
    Member
    Posted 1 year ago #

    Thanks ideafarmer... that did it!

  25. comtedescierges
    Member
    Posted 1 year ago #

    Ok so fix has sorted out the disablement of the wp-admin (which was a bit of a critical error and oversight to say the least), but now it states that there is an error with this code in my header.php ... any ideas what appears to be the problem with this as looks fine to me?

    <meta name="description" content="The definitive London luxury lifestyle guide, covering all the latest luxury news and calendar events, providing a range of exclusive member-only privileges to help you explore the worlds best hotels, restaurants, nightclubs and unique experiences" />

  26. Dan & Jennifer
    Member
    Posted 1 year ago #

  27. Esten
    Member
    Posted 1 year ago #

    Following ssiddiqi1's advice should solve the problem!

    You can ftp to your /wp-content/plugin/wordpress-seo/admin/ download admin-class.php to your desktop by ftp and edit the admin-class.php
    On line 441, chanhe update_options to update_option, then upload the file to the /wp-content/plugin/wordpress-seo/admin/. Or, use the version 1.2.7 from your backup.

    For those who still can't access their WordPress backend, have a look at http://cool-tricks.net/call-to-undefined-function-update_options for a detailed solution :)

  28. ssiddiqi1
    Member
    Posted 1 year ago #

    Download version 1.2.8.1 through your Web broswer and Ftp it to you Wp installation wp-content/plugins/. It will overwrite your version 1.2.8. You should be able to access WP Admin Panel.

  29. markp_2000
    Member
    Posted 1 year ago #

    I'm not able to use the wysiwyg editor any longer. The tab is grayed out. Anyone else have this after the upgrade? I went from 1.28 to 1.28.1. It was working prior to the 1.28 upgrade.

    Mark

  30. ssiddiqi1
    Member
    Posted 1 year ago #

    SEO has nothing to do with WYSIWYG editor. Did you check your profile under User>your profile, if IDsable Visual Editor box is checked by mistake?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.