get_cart was called incorrectly
-
With the plugin version of 1.4.3 and php7.1 I am seeing message like the following. Any ideas what I am dong wrong?
FastCGI sent in stderr: “PHP mes
sage: get_cart was called incorrectly. Get cart should not be called before the
wp_loaded action. Backtrace: require_once(‘wp-load.php’), require_once(‘wp-confi
g.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action,
WP_Hook->apply_filters, WooCommerce->init, do_action(‘woocommerce_init’), WP_Ho
ok->do_action, WP_Hook->apply_filters, {closure}, WooCommerce->__get, WooCommerc
e->payment_gateways, WC_Payment_Gateways::instance, WC_Payment_Gateways->__const
ruct, WC_Payment_Gateways->init, WC_Gateway_PayPal_Pro_PayFlow_AngellEYE->__cons
truct, AngellEYE_Utility::angelleye_paypal_for_woocommerce_is_set_sandbox_produc
t, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.
- The topic ‘get_cart was called incorrectly’ is closed to new replies.