• Resolved artyus

    (@artyus)


    Hello!

    Critical error when installing version 8.0:

    Uncaught Error: Class 'Automattic\Jetpack\Roles' not found in .../wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php on line 270
    
        get_actor()
        wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php:239
        enqueue_action()
        wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php:114
        action_handler()
        wp-includes/class-wp-hook.php:288
        apply_filters()
        wp-includes/class-wp-hook.php:312
        do_action()
        wp-includes/plugin.php:478
        do_action()
        wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/Plugins.php:168
        on_upgrader_completion()
        wp-includes/class-wp-hook.php:288
        apply_filters()
        wp-includes/class-wp-hook.php:312
        do_action()
        wp-includes/plugin.php:478
        do_action()
        wp-admin/includes/class-plugin-upgrader.php:316
        bulk_upgrade()
        wp-admin/update.php:47
    
    На сайте возникла критическая ошибка. Пожалуйста, проверьте входящие сообщения почты администратора для дальнейших инструкций. 
    (A critical error occurred on the site. Please check the incoming admin mail for further instructions.)
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Sorry about that! We renamed some files in this release, and it appears that while this is not a problem once you’ve updated, it does cause an issue during the update process.

    Do you still see the error on your sites? If you access your dashboards, go to the Plugins menu, and then refresh the page, do you see any errors? Does it say that Jetpack now runs 8.0?

    Thank you!

    Thread Starter artyus

    (@artyus)

    Thanks for the quickness.

    There are no visible errors on the site, Query Monitor also does not report errors, the installed version of the plugin is marked as 8.0.

    I just have doubts whether everything was normal during the update process, and if there are any other flaws lurking there that can show themselves over time.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    If you do not notice any errors in your logs anymore, you should be all set.

    If you see anything new appear in the next few days, let us know!

    I’ve had the same issue on the domains I have updated today … 3 so far

    Error Details
    =============
    An error of type E_ERROR was caused in line 270 of the file /home/danoster/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/danoster/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/Listener.php:270
    Stack trace:
    #0 /home/danoster/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/danoster/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/danoster/public_html/wp-includes/class-wp-hook.php(288): Automattic\Jetpack\Sync\Listener->action_handler(Array, Array)
    #3 /home/danoster/public_html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
    #4 /home/danoster/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #5 /home/danoster/public_html/wp-content/plugins/jetpack/vendor/automattic/jetpack-sync/src/modules/Plugins.php(168):

    • This reply was modified 4 years, 11 months ago by danosterhout. Reason: forgot to paste error details
    Plugin Contributor James Huff

    (@macmanx)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Critical error’ is closed to new replies.