• I am getting the following message in the debug log. I am tracing it back and wondering if it is originating from this plugin. Can you say if get_cart is in play here?

    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-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WP_Stream\Plugin->init, WP_Stream\Connectors->__construct, WP_Stream\Connectors->load_connectors, WP_Stream\Connector_Woocommerce->register, WP_Stream\Connector_Woocommerce->get_woocommerce_settings_fields, WC_Settings_Payment_Gateways->get_settings, apply_filters(‘woocommerce_payment_gateways_settings’), WP_Hook->apply_filters, WC_Subscriptions_Admin::add_recurring_payment_gateway_information, WC_Subscriptions_Payment_Gateways::one_gateway_supports, WC_Payment_Gateways->get_available_payment_gateways, apply_filters(‘woocommerce_available_payment_gateways’), WP_Hook->apply_filters, Woo_Conditional_Payments_Frontend->filter_payment_methods, Woo_Conditional_Payments_Ruleset->validate, Woo_Conditional_Payments_Filters::filter_products, Woo_Conditional_Payments_Filters::_get_order_products, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.

  • The topic ‘Error Message get_cart was called incorrectly’ is closed to new replies.