JetPack 2.2.5 DO NOT INSTALL!

If you’re using WordPress you may be like me, always updating the plugins. Well do not update to JetPack by WordPress version 2.2.5, or if you do be very careful.

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

While I love JetPack by WordPress as it provides many awesome features available on WordPress.org to those who have their own installs. The most recent update bite me in the ass.

If this happens to you, here is how to get your site back online.

  1. go to your site http://www.mysiteurl.com/wp-admin
  2. Login if you aren’t already
  3. Click Plug-ins
  4. Find the JetPack and click disable

JetPack Features

Just in case you never heard of JetPack you may want to review some of it’s awesome features. Here is a short list:

  • Simple, concise stats with no additional load on your server. Previously provided byWordPress.com Stats.
  • Email subscriptions for your blog’s posts and your post’s comments.
  • Social networking enabled comment system.
  • Likes, allowing your readers to show their appreciation of your posts.
  • Monitor and manage your site’s activity with Notifications in your Toolbar and on WordPress.com.
  • Simple, Akismet-backed contact forms.
  • The WP.me URL shortener.
  • Easily embedded media from popular sites like YouTube, Digg, and Vimeo.
  • Your readers can easily share your posts via email or their favorite social networks. Previously provided by the Sharedaddy WordPress plugin.
  • Your writing will improve thanks to After the Deadline, an artificial intelligence based spell, style, and grammar checker. Previously provided by the After the DeadlineWordPress plugin.
  • With Carousel active, any standard WordPress galleries you have embedded in posts or pages will launch a gorgeous full-screen photo browsing experience with comments and EXIF metadata.
  • A CSS editor that lets you customize your site design without modifying your theme.
  • A mobile theme that automatically streamlines your site for visitors on mobile devices.Mobile push notifications for new comments via WordPress mobile apps.
  • The ability to allow applications to securely authenticate and access your site with your permission.
  • Creative formats for your image galleries: mosaic, circles, squares, and a slideshow view.

Comments

  1. Post
    Author
    1. Post
      Author
      John Wetsell

      Here’s the official response:
      Jeremy Herve wrote:

      Thank you all for the reports. Other Jetpack users have reported similar issues in this thread. We worked on a fix, that will available in the next Jetpack release (ref: r706924-plugins).
      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 and solve the issue.

      Read this post on the forums: http://wordpress.org/support/topic/undefined-function-get_editable_roles?replies=7#post-4158798

Leave a Reply