Support » Plugin: Jetpack by » Updating Jetpack breaks WordPress

  • Resolved joseamirandavelez


    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)?

Viewing 13 replies - 1 through 13 (of 13 total)
  • 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!

    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.

    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.

    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.

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

    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.

    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 Looks like a 3.6 beta feature. I can’t find it in the codex

    After downloading and installing the previous version (uising the upload option)

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

    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

    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.

    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

    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

    Plugin Contributor Andy Skelton



    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.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Updating Jetpack breaks WordPress’ is closed to new replies.