Title: undefined function get_editable_roles()
Last modified: August 21, 2016

---

# undefined function get_editable_roles()

 *  Resolved [johnish411](https://wordpress.org/support/users/johnish411/)
 * (@johnish411)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/)
 * I just updated to the newest version of jetpack and now my entire site is down
   with this message.
 * Fatal error: Call to undefined function get_editable_roles() in /home/johnishc/
   public_html/wp-content/plugins/jetpack/modules/stats.php on line 219
 * [http://wordpress.org/extend/plugins/jetpack/](http://wordpress.org/extend/plugins/jetpack/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Matthew Woodard](https://wordpress.org/support/users/matthewwoodard/)
 * (@matthewwoodard)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3714894)
 * Same here … ????
 *  [corebound](https://wordpress.org/support/users/corebound/)
 * (@corebound)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3714922)
 * Same, I was able to disable the plug-in and get my site back.
 *  [c3iq](https://wordpress.org/support/users/c3iq/)
 * (@c3iq)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3714987)
 * I just had this. I put :
 * if ( !function_exists(‘get_editable_roles’) ) {
    require_once( ABSPATH . ‘/wp-
   admin/includes/user.php’ ); }
 * at line 218 of wp-content/plugins/jetpack/modules/stats.php
 * I found the hint here:
 * [https://github.com/lewismcarey/User-Field-ACF-Add-on/issues/2](https://github.com/lewismcarey/User-Field-ACF-Add-on/issues/2)
 * Working again.
 *  [pascoedj](https://wordpress.org/support/users/pascoedj/)
 * (@pascoedj)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715021)
 * Whoa JETPACK !!!
 * Why do you push out plugin updates that bring a whole wordpress site down !!!
 * not happy.
 *  [nbquidditch](https://wordpress.org/support/users/nbquidditch/)
 * (@nbquidditch)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715066)
 * Me too! Its broken my entire site which is dependent on live bookings!
 * Not a happy bunny…..
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715077)
 * Thank you all for the reports. Other Jetpack users have reported similar issues
   [in this thread](http://wordpress.org/support/topic/editable-roles-statistic-failure?replies=10).
   We worked on a fix, that will available in the next Jetpack release (ref: [r706924-plugins](http://plugins.trac.wordpress.org/changeset/706924)).
 * 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.
 *  [Jon Brown](https://wordpress.org/support/users/jb510/)
 * (@jb510)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715116)
 * 🙁
 *  [dagguet](https://wordpress.org/support/users/dagguet/)
 * (@dagguet)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715195)
 * Thank you so much.
 * Jetpack takes down the website way too often!!!!
 *  [amilg_1](https://wordpress.org/support/users/amilg_1/)
 * (@amilg_1)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715226)
 * Tengo el mismo problema :
 * Fatal error: Call to undefined function get_editable_roles() in /home/content/
   95/7916595/html/wp-content/plugins/jetpack/modules/stats.php on line 219
 * solamente pasa cuando :
    [http://mamitips.com.pe/](http://mamitips.com.pe/)
 * Pero si agrego el www si funciona
    [http://www.mamitips.com.pe/](http://www.mamitips.com.pe/)
 * Alguna solución
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715227)
 * **[@amilg_1](https://wordpress.org/support/users/amilg_1/)** – if you need help,
   please start a new thread – here:
 * [http://wordpress.org/support/plugin/jetpack#postform](http://wordpress.org/support/plugin/jetpack#postform)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘undefined function get_editable_roles()’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 10 replies
 * 11 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/undefined-function-get_editable_roles/#post-3715227)
 * Status: resolved