Fatal Error After Activation: WooCommerce::is_rest_api_request()
-
After activation, I received the fatal error listed below. Based on my current system version(s) listed below, can you provide insight into why the plugin is throwing the undefined method error?
HubSpot for WooCommerce Version 1.06
WC Version: 3.5.7
PHP Version: 7.1.33
WP Version: 5.1.1[19-Dec-2020 20:51:22 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WooCommerce::is_rest_api_request() in /wp-content/plugins/makewebbetter-hubspot-for-woocommerce/public/class-hubwoo-public.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(286): Hubwoo_Public->hubwoo_abncart_start_session(”)
#1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /wp-settings.php(505): do_action(‘init’)
#4 /wp-config.php(166): require_once(‘/home/…’)
#5 /wp-load.php(37): require_once(‘/home/…’)
#6 /wp-login.php(12): require(‘/home/…’)
#7 {main} thrown in /wp-content/plugins/makewebbetter-hubspot-for-woocommerce/public/class-hubwoo-public.php on line 324Thanks in advance for your help and suggestions.
The topic ‘Fatal Error After Activation: WooCommerce::is_rest_api_request()’ is closed to new replies.