PHP message: get_cart was called incorrectly.
-
Hello,
We’ve recently installed ithemes and are now getting this error. It just continues and is the same error repealted per line.
FastCGI sent in stderr: “PHP message: get_cart was called incorrectly. Get basket should not be called before the wp_loaded action. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, ITSEC_Lockout->check_for_host_lockouts, ITSEC_Lockout->execute_lock, wp_logout, do_action(‘wp_logout’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce_Groupons::wp_logout, WC_Cart->remove_coupons, WC_Cart_Session->set_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.PHP message: get_cart was called incorrectly. Get basket should not be called before the wp_loaded action. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, ITSEC_Lockout->check_for_host_lockouts, ITSEC_Lockout->execute_lock, wp_logout, do_action(‘wp_logout’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce_Groupons::wp_logout, WC_Cart->remove_coupons, WC_Cart_Session->set_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, do_action(‘woocommerce_cart_loaded_from_session’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->set_session, WC_Cart_Session->get_cart_for_session, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.PHP message: get_cart was called incorrectly. Get basket should not be called before the wp_loaded action. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, ITSEC_Lockout->check_for_host_lockouts, ITSEC_Lockout->execute_lock, wp_logout, do_action(‘wp_logout’), WP_Hook->do_action, WP_Hook->a
any ideas on how to resolve?
- The topic ‘PHP message: get_cart was called incorrectly.’ is closed to new replies.