• Hi,

    I’m using the plugin on several websites with Woo 3.4.x up to 5.9.x and my php log is full of notices each day, which makes it harder to spot other messages in error log (+ it takes up my quota in sentry.io)

    Could you please have a look at this?
    get_cart was called incorrectly. Get cart shouldn't be called before action wp_loaded. 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, WC_Session_Handler->destroy_session, WC_Session_Handler->forget_session, wc_empty_cart, WC_Cart->empty_cart, do_action('woocommerce_cart_emptied'), WP_Hook->do_action, WP_Hook->apply_filters, Drip_Woocommerce_Cart_Events->drip_woocommerce_cart_updated, WC_Cart->is_empty, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.

  • The topic ‘PHP Notices’ is closed to new replies.