Title: JetPack update error
Last modified: December 3, 2019

---

# JetPack update error

 *  Resolved [dwnfred](https://wordpress.org/support/users/dwnfred/)
 * (@dwnfred)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/)
 * I get on many differents customers this error :
 * > Détails de l’erreur
   >  ====================== An error of type E_ERROR was caused
   > in line 270 of the file /home/httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/wp-
   > content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php. Error
   > message : Uncaught Error: Class ‘Automattic\Jetpack\Roles’ not found in /home/
   > httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/wp-content/plugins/jetpack/vendor/
   > automattic/jetpack-sync/src/Listener.php:270 Stack trace: #0 /home/httpd/vhosts/
   > dwnmedia.ch/httpdocs/wordpress/wp-content/plugins/jetpack/vendor/automattic/
   > jetpack-sync/src/Listener.php(239): Automattic\Jetpack\Sync\Listener->get_actor(‘
   > jetpack_plugins…’, Array) #1 /home/httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/
   > wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php(
   > 114): Automattic\Jetpack\Sync\Listener->enqueue_action(‘jetpack_plugins…’, 
   > Array, Object(Automattic\Jetpack\Sync\Queue)) #2 /home/httpd/vhosts/dwnmedia.
   > ch/httpdocs/wordpress/wp-includes/class-wp-hook.php(288): Automattic\Jetpack\
   > Sync\Listener->action_handler(Array, Array) #3 /home/httpd/vhosts/dwnmedia.
   > ch/httpdocs/wordpress/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”,
   > Array) #4 /home/httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/wp-includes/plugin.
   > php(478): WP_Ho

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

 *  Thread Starter [dwnfred](https://wordpress.org/support/users/dwnfred/)
 * (@dwnfred)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12201282)
 * OK sorry I just found this topic : [https://wordpress.org/support/topic/fatal-error-when-updating-to-jetpack-8-0-read-this/](https://wordpress.org/support/topic/fatal-error-when-updating-to-jetpack-8-0-read-this/)
 *  [Boyan](https://wordpress.org/support/users/boyanss/)
 * (@boyanss)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12202970)
 * I have the same issue. Can someone explain?
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12203266)
 * [@boyanss](https://wordpress.org/support/users/boyanss/) The link [@dwnfred](https://wordpress.org/support/users/dwnfred/)
   posted above gives a bit more information as to why this is happening.
 * If you keep seeing those errors happening even after the update, don’t hesitate
   to start your own thread and give us more details about your site and the errors
   you see.
 * Thank you!
 *  Thread Starter [dwnfred](https://wordpress.org/support/users/dwnfred/)
 * (@dwnfred)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12204015)
 * The problem linked with this bug is that I can’t go to optimize options it crashs
   and tells me an wordpress error, I deactivated jetpack extension and optimize
   options re-works
    do you know that bug ? it is linked with the error posted on
   my 1st message
 * > Détails de l’erreur
   >  ====================== An error of type E_ERROR was caused
   > in line 270 of the file /home/httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/wp-
   > content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php. Error
   > message : Uncaught Error: Class ‘Automattic\Jetpack\Roles’ not found in /home/
   > httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/wp-content/plugins/jetpack/vendor/
   > automattic/jetpack-sync/src/Listener.php:270 Stack trace: #0 /home/httpd/vhosts/
   > dwnmedia.ch/httpdocs/wordpress/wp-content/plugins/jetpack/vendor/automattic/
   > jetpack-sync/src/Listener.php(239): Automattic\Jetpack\Sync\Listener->get_actor(‘
   > jetpack_plugins…’, Array) #1 /home/httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/
   > wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php(
   > 114): Automattic\Jetpack\Sync\Listener->enqueue_action(‘jetpack_plugins…’, 
   > Array, Object(Automattic\Jetpack\Sync\Queue)) #2 /home/httpd/vhosts/dwnmedia.
   > ch/httpdocs/wordpress/wp-includes/class-wp-hook.php(288): Automattic\Jetpack\
   > Sync\Listener->action_handler(Array, Array) #3 /home/httpd/vhosts/dwnmedia.
   > ch/httpdocs/wordpress/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”,
   > Array) #4 /home/httpd/vhosts/dwnmedia.ch/httpdocs/wordpress/wp-includes/plugin.
   > php(478): WP_Ho
 *  Thread Starter [dwnfred](https://wordpress.org/support/users/dwnfred/)
 * (@dwnfred)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12204126)
 * I reinstalled jetpack now is definately ok
 *  [erdacoca](https://wordpress.org/support/users/erdacoca/)
 * (@erdacoca)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12209411)
 * Hi [@dwnfred](https://wordpress.org/support/users/dwnfred/) so how did you fix
   it? I got the same problem.
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12210462)
 * Please try the steps detailed at [https://wordpress.org/support/topic/fatal-error-when-updating-to-jetpack-8-0-read-this/](https://wordpress.org/support/topic/fatal-error-when-updating-to-jetpack-8-0-read-this/)
 * If that doesn’t work, you’ll need to access your server via SFTP or FTP, or a
   file manager in your hosting account’s control panel (consult your hosting provider’s
   documentation for specifics on these), navigate to /wp-content/plugins/ and delete
   the whole /jetpack/ directory there.
 * Once that’s done, you’ll be able to reinstall Jetpack normally from Plugins >
   Add New in your site’s Dashboard.
 * And, if that still doesn’t work, please contact us via [https://jetpack.com/contact-support/?rel=support](https://jetpack.com/contact-support/?rel=support)
   so we can take a closer look.
 *  [sneader](https://wordpress.org/support/users/sneader/)
 * (@sneader)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12276430)
 * As a hosting provider, this is a horrible issue. This error occurs EVERY TIME
   someone upgrades Jetpack from version 7 to 8, and the email you send the user,
   even though nothing is actually wrong, says “Please contact your host for assistance
   with investigating this issue further.”
 * Can this really not be fixed?
 * – Scott
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12276471)
 * The error should be happening only on the instance of upgrade, it should be gone
   if you simply refresh the page or move on to another page. It’s not a persistent
   error.
 * We’re unsure why a small handful of folks are seeing this as a persistent error,
   it’s possible that the error’s output is being caching in these cases.
 *  [sneader](https://wordpress.org/support/users/sneader/)
 * (@sneader)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12276566)
 * [@macmanx](https://wordpress.org/support/users/macmanx/) In every situation (
   in our standard cPanel-based hosting environment), there is no persistent error.
   The upgrade to v8 completes fine EXCEPT this silly email that is sent to customers
   with the subject “Your Site is Experiencing a Technical Issue” — note that it
   is clearly indicating there IS a problem, not there was, or could be.
 * The email goes on to tell customers to check their site for any visible issues,
   then to “Please contact your host for assistance with investigating this issue
   further.”
 * All for nothing, because there is no problem!
 * When customers open tickets for help (because WP’s email tells them to do that),
   we just tell customers it is a bug with the Jetpack upgrade, generating a false
   alert, and to ignore it.
 * However, this is diminishing the value of the “Technical Issue” email notifications
   from WordPress, as now customers do not know whether to take them seriously or
   not.
 * This seems preventable and ought to get resolved.
 * – Scott
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12277886)
 * Thanks for the info, we’ll see what we can do.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [6 years, 5 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12278137)
 * > This seems preventable and ought to get resolved.
 * To add to James’ comment, this is definitely something that we’d like to avoid
   in the future. We’ve been working on this here:
    [https://github.com/Automattic/jetpack/pull/14172](https://github.com/Automattic/jetpack/pull/14172)
 *  [bruceparker1](https://wordpress.org/support/users/bruceparker1/)
 * (@bruceparker1)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12348596)
 * Sorry to bring up what appears to be a non-issue, but I just got the “type E_ERROR
   was caused in line 270” message when I just upgraded from Jetpack 7.9.1 to 8.1.
 * My site appears to be fine from what I can tell, but I guess I just want someone
   here to confirm that my site is OK.
 * The automated email I received from WordPress says WordPress caught an error 
   with Jetpack, and it tells me to “visit the page where the error was caught” (
   [http://www.truenorthreports.com/wp-admin/admin-ajax.php](http://www.truenorthreports.com/wp-admin/admin-ajax.php))
   and check for any visible issues.
 * Well, I visited that URL and it just shows a blank white page. (Actually, there
   is a single 0 at the top left corner.) I don’t know what that URL is or does,
   so I can’t tell if it is fine or not. Any thoughts?
 * Here are the error details shown to me in the WordPress email alert:
 * Error Details
    ============= An error of type E_ERROR was caused in line 270 
   of the file /home/XXXXXXXX/public_html/wp-content/plugins/jetpack/vendor/automattic/
   jetpack-sync/src/Listener.php. Error message: Uncaught Error: Class ‘Automattic\
   Jetpack\Roles’ not found in /home/XXXXXXXX/public_html/wp-content/plugins/jetpack/
   vendor/automattic/jetpack-sync/src/Listener.php:270 Stack trace: #0 /home/XXXXXXXX/
   public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.
   php(239): Automattic\Jetpack\Sync\Listener->get_actor(‘jetpack_plugins…’, Array)#
   1 /home/XXXXXXXX/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-
   sync/src/Listener.php(114): Automattic\Jetpack\Sync\Listener->enqueue_action(‘
   jetpack_plugins…’, Array, Object(Automattic\Jetpack\Sync\Queue)) #2 /home/XXXXXXXX/
   public_html/wp-includes/class-wp-hook.php(286): Automattic\Jetpack\Sync\Listener-
   >action_handler(Array, Array) #3 /home/XXXXXXXX/public_html/wp-includes/class-
   wp-hook.php(310): WP_Hook->apply_filters(”, Array) #4 /home/XXXXXXXX/public_html/
   wp-includes/plugin.php(465): WP_Hook->do_action(Array) #5 /home/XXXXXXXX/public_html/
   wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/s
    -  This reply was modified 6 years, 4 months ago by [bruceparker1](https://wordpress.org/support/users/bruceparker1/).
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12349991)
 * Please try the steps detailed at [https://wordpress.org/support/topic/fatal-error-when-updating-to-jetpack-8-0-read-this/](https://wordpress.org/support/topic/fatal-error-when-updating-to-jetpack-8-0-read-this/)
 * If that doesn’t work, you’ll need to access your server via SFTP or FTP, or a
   file manager in your hosting account’s control panel (consult your hosting provider’s
   documentation for specifics on these), navigate to /wp-content/plugins/ and delete
   the whole /jetpack/ directory there.
 * Once that’s done, you’ll be able to reinstall Jetpack normally from Plugins >
   Add New in your site’s Dashboard.
 * And, if that still doesn’t work, please contact us via [https://jetpack.com/contact-support/?rel=support](https://jetpack.com/contact-support/?rel=support)
   so we can take a closer look.

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

The topic ‘JetPack update error’ 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/)

## Tags

 * [update](https://wordpress.org/support/topic-tag/update/)

 * 14 replies
 * 7 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/jetpack-update-error-3/#post-12349991)
 * Status: resolved