Okay
  Public Ticket #2911285
errors from b2bking appearing in www-error.log
Closed

Comments

  •  1
    Greg started the conversation

    There are hundreds of these errors appearing in my php-fpm www-error.log file.  Wanting to understand what is happening and why.

    [07-Nov-2021 22:16:39 UTC] get_cart was called incorrectly. Get cart 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, B2bking_Public->{closure}, B2bking_Public->user_has_offer_in_cart, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, WC_Cart->calculate_totals, WC_Cart->is_empty, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.
    [07-Nov-2021 22:16:39 UTC] get_cart was called incorrectly. Get cart 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, B2bking_Public->{closure}, B2bking_Public->user_has_offer_in_cart, WC_Cart->get_cart, WC_Cart_Session->get_cart_from_session, WC_Cart->calculate_totals, 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.


    Thanks,

    Greg Guldenschuh

  •   WebWizards replied privately