• Resolved dwnfred

    (@dwnfred)


    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

    (@dwnfred)

    I have the same issue. Can someone explain?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    @boyanss The link @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

    (@dwnfred)

    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

    (@dwnfred)

    I reinstalled jetpack now is definately ok

    Hi @dwnfred so how did you fix it? I got the same problem.

    Plugin Contributor James Huff

    (@macmanx)

    Please try the steps detailed at https://www.ads-software.com/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 so we can take a closer look.

    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

    (@macmanx)

    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.

    @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

    (@macmanx)

    Thanks for the info, we’ll see what we can do.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    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

    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” (https://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 4 years, 10 months ago by bruceparker1.
    Plugin Contributor James Huff

    (@macmanx)

    Please try the steps detailed at https://www.ads-software.com/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 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.