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.
- go to your site http://www.mysiteurl.com/wp-admin
- Login if you aren’t already
- Click Plug-ins
- Find the JetPack and click disable
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.