WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Updating Jetpack breaks WordPress (14 posts)

  1. joseamirandavelez
    Member
    Posted 1 year ago #

    I tried to update Jetpack. The update seemed to go through OK but when after that when I went to my homepage the page was blank. I had to restore my site from yesterday's backup. I did it twice to check if it was just a hickup in the system but it happened again? Is there any known issue with the latest version (2.2.5)?

    http://wordpress.org/extend/plugins/jetpack/

  2. starrman62
    Member
    Posted 1 year ago #

    Same thing happened to me this evening, I installed the 2.2.5 after running 2.2 for several months and boom, no website. Disabled and got my site back... then I reinstalled and boom, no website. Disabled again, and got my site back. Must be some bug in there...but would really like to have it back, I used it!

  3. lprent
    Member
    Posted 1 year ago #

    Just did it to me as well.

    stderr: PHP message: PHP Fatal error: Call to undefined function get_editable_roles() in /wp-content/plugins/jetpack/modules/stats.php on line 219

    Going to disable the stats. Damn that is sloppy.

  4. joseamirandavelez
    Member
    Posted 1 year ago #

    I hope they get it working again. I depend on a lot of features of this plugin. I'll keep my other sites outdated until they fix it.

  5. lprent
    Member
    Posted 1 year ago #

    Removing jetpack from the plugins folder fixed the problem and allowed the site to start operating. Now extracting an older version of the plugin from backups.

    First time in over 5 years that a plugin just plain broke the site.

  6. lprent
    Member
    Posted 1 year ago #

    Ummm. My whole site is noticeably faster without Jetpack. I'll have to find out why

  7. joseamirandavelez
    Member
    Posted 1 year ago #

    I compressed the folder to a zip file and deleted the folder but it didn't fix it... I had to restore yesterday's backup.

  8. lprent
    Member
    Posted 1 year ago #

    That was odd. All I did was (from the plugin directory)

    mv jetpack ../../..

    Maybe there was some file caching going on? The actual problem appears to be that call in the stats.php

    I'm using php5-fpm with apc. The files are cached in apc and it is pretty good about checking for changed files

    Ummm http://wpseek.com/get_editable_roles/ Looks like a 3.6 beta feature. I can't find it in the codex http://codex.wordpress.org/Roles_and_Capabilities

  9. lprent
    Member
    Posted 1 year ago #

    After downloading and installing the previous version (uising the upload option)
    http://downloads.wordpress.org/plugin/jetpack.2.2.4.zip

    It was fine - and my site slowed down on the page loads again.

  10. abshkd
    Member
    Posted 1 year ago #

    my site is down too. same problem.

    the error i get is

    PHP Fatal error: Call to undefined function get_editable_roles() in /xxx/wp-content/plugins/jetpack/modules/stats.php on line 219

  11. abshkd
    Member
    Posted 1 year ago #

    though not recommended for now i'd suggest editing that file and commenting out the line 219 which contains the call to function get_editable_roles.

    that should bring the site back up.

  12. Emmageddon
    Member
    Posted 1 year ago #

    Getting the same fatal error everyone else is getting - going to have to go into my FTP to take this out - first time I have ever experienced an issue like this - please fix as soon as possible Jetpack.

    Had to remove this completely from my backend - rely on this alot as a plugin

  13. Emmageddon
    Member
    Posted 1 year ago #

    Looks like I'm going to have to download an older version for now to make this work again. Such a shame - hope gets fixed son

  14. Andy Skelton
    Member
    Plugin Author

    Posted 1 year ago #

    I must apologize for the bug. I didn't realize that get_editable_roles function is only loaded in admin, making it potentially unsafe to call from stats_upgrade_options when the next page load after upgrade is a non-admin page. The fix has been committed to the Jetpack plugin. The next bugfix release will include this.

    Meanwhile, you should be able to work around the issue by loading just one wp-admin page after upgrading the plugin. This should trigger stats_upgrade_options.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic