• Resolved FmX

    (@nescafe89)


    Hello, i have critical error when try to read feedback forms:

    Данни за грешката
    ================================
    Грешка от вид E_ERROR беше причинена от ред 944 от файла /var/www/public/daleksandrov/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-feedback.php. Грешка: Uncaught Error: Call to undefined method Automattic\Jetpack\Device_Detection\User_Agent_Info::get_browser_display_name() in /var/www/public/daleksandrov/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-feedback.php:944
    Stack trace:
    #0 /var/www/public/daleksandrov/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-endpoint.php(813): Automattic\Jetpack\Forms\ContactForm\Feedback->get_browser()
    #1 /var/www/public/daleksandrov/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(476): Automattic\Jetpack\Forms\ContactForm\Contact_Form_Endpoint->prepare_item_for_response()
    #2 /var/www/public/daleksandrov/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-endpoint.php(861): WP_REST_Posts_Controller->get_items()
    #3 /var/www/public/daleksandrov/wp-includes/rest-api/class-wp-rest-server.php(1292): Automattic\Jetpack\Forms\ContactForm\Contact_Form_Endpoint->get_items()
    #4 /var/www/public/daleksandrov/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request()
    #5 /var/www/public/daleksandrov/wp-includes/rest-api.php(586): WP_REST_Server->dispatch()
    #6 /var/www/public/daleksandrov/wp-includes/rest-api.php(2973): rest_do_request()
    #7 [internal function]: rest_preload_api_request()
    #8 /var/www/public/daleksandrov/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-forms/src/dashboard/class-dashboard.php(113): array_reduce()
    #9 /var/www/public/daleksandrov/wp-includes/class-wp-hook.php(324): Automattic\Jetpack\Forms\Dashboard\Dashboard->load_admin_scripts()
    #10 /var/www/public/daleksandrov/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #11 /var/www/public/daleksandrov/wp-includes/plugin.php(517): WP_Hook->do_action()
    #12 /var/www/public/daleksandrov/wp-admin/admin-header.php(123): do_action()
    #13 /var/www/public/daleksandrov/wp-admin/admin.php(240): require_once(‘…’)
    #14 {main}
      thrown

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can either turn off wp super cache or add the workaround from here:

    https://github.com/Automattic/jetpack/issues/45784#issuecomment-3495093295

    // Jetpack 15.2 hotfix - https://github.com/Automattic/jetpack/issues/45784
    // Load the Jetpack version before WP Super Caches's outdated one.
    if ( ! class_exists( '\Automattic\Jetpack\Device_Detection' ) ) {
    include_once __DIR__ . '/plugins/jetpack/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php';
    }
    Thread Starter FmX

    (@nescafe89)

    Ok thank you. I will wait for an official update, if it doesn’t come out soon I will use the temporary solution, for now I can read the form in the email.

    Plugin Support Animesh Gaurav

    (@bizanimesh)

    Hey @nescafe89 – That sounds good and sounds like the ideal next step for now, seeing the situation. However, since this issue is affecting many users, the fix will be deployed soon by the development team.

    You can keep an eye on the plugin updates, and once a new version is released, update the plugin to check if it resolves the issue. I sincerely appreciate your patience while we resolve the issue.

    Also, thanks @kb_unhammer for sharing the workaround.

    Thread Starter FmX

    (@nescafe89)

    Solved

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

The topic ‘Jetpack Feedback Critical Error’ is closed to new replies.