• Resolved trevorstaats

    (@trevorstaats)


    Hi,

    We are seeing this error after an update applied yesterday. We have the latest version of Woocommerce installed. I have disabled this plugin as it crashes the entire site – admin and front end.

    Thanks,

    Trevor.

    Fatal error: Uncaught Error: Call to undefined method Automattic\Jetpack\Status\Host::get_known_host_guess() in C:\wamp64\www\voucher\wp-content\plugins\autocomplete-woocommerce-orders\jetpack_vendor\automattic\jetpack-assets\src\class-script-data.php:119 Stack trace: #0 C:\wamp64\www\voucher\wp-content\plugins\autocomplete-woocommerce-orders\jetpack_vendor\automattic\jetpack-assets\src\class-script-data.php(89): Automattic\Jetpack\Assets\Script_Data::get_admin_script_data() #1 C:\wamp64\www\voucher\wp-includes\class-wp-hook.php(324): Automattic\Jetpack\Assets\Script_Data::render_script_data(”) #2 C:\wamp64\www\voucher\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #3 C:\wamp64\www\voucher\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #4 C:\wamp64\www\voucher\wp-admin\admin-header.php(146): do_action(‘admin_print_scr…’) #5 C:\wamp64\www\voucher\wp-admin\plugins.php(621): require_once(‘C:\\wamp64\\www\\v…’) #6 {main} thrown in C:\wamp64\www\voucher\wp-content\plugins\autocomplete-woocommerce-orders\jetpack_vendor\automattic\jetpack-assets\src\class-script-data.php on line 119

Viewing 2 replies - 1 through 2 (of 2 total)
  • Francisco

    (@franmastromarino)

    Hi Trevor,

    Thanks for reporting this and for providing the detailed error trace — it’s very helpful.

    The issue you’re experiencing is caused by a version conflict in the jetpack-status package. Our plugin uses the latest Jetpack libraries (including the Host::get_known_host_guess() method), but another plugin on your site is loading an older version of that same package which doesn’t include this method. When WordPress loads the older version first, it overrides the newer one and causes a fatal error when our code calls that missing method.

    How to resolve this:

    1. Temporarily deactivate other plugins (especially any that include Jetpack packages or use the Automattic\Jetpack namespace), and reactivate them one by one to identify which one is bundling the older Jetpack version.
    2. Update all Jetpack-related plugins (including Jetpack itself, WooCommerce extensions, or anything from Automattic) to their latest versions.

    Let us know if you identify the conflicting plugin, and feel free to share it here — it will help us improve compatibility.

    Thanks again,

    Thread Starter trevorstaats

    (@trevorstaats)

    Thanks for your reply. I did remove all other plugins apart from WooCommerce, even deleted them. I have re-checked that WooCommerce is the latest version, but the problem persists. I have no more time to spend on this, so I have written a small plugin to cater for the specific case for which I was using your plugin which seems to be doing the job.

    Cheers,

    Trevor.

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

The topic ‘Error after update yesterday’ is closed to new replies.