recurring error message in php_errorlog
-
hi there,
since upgrading the afterpay payment gateway for woocommerce plugin I am noticing that my php error log is filling up with the notice below . A visit to a single page does not trigger this. Error log grew to 36mb. Other than the error everything appears to be be working .Appreciate some help with that please
Current versions :
wordpress is running 5.7woocommerce is version 5.1.0
BrainTree for woocommerce is version 2.5.0
Afterpay gateway is 2.2.2[26-Mar-2021 22:19:31 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, WC_Braintree->maybe_init_apple_pay, SkyVerge\WooCommerce\PluginFramework\v5_10_5\SV_WC_Payment_Gateway_Plugin->maybe_init_apple_pay, WC_Braintree->build_apple_pay_instance, SkyVerge\WooCommerce\PluginFramework\v5_10_5\SV_WC_Payment_Gateway_Apple_Pay->__construct, SkyVerge\WooCommerce\PluginFramework\v5_10_5\Payment_Gateway\External_Checkout\External_Checkout->__construct, SkyVerge\WooCommerce\PluginFramework\v5_10_5\Payment_Gateway\External_Checkout\External_Checkout->init, SkyVerge\WooCommerce\PluginFramework\v5_10_5\Payment_Gateway\External_Checkout\External_Checkout->get_processing_gateway, SkyVerge\WooCommerce\PluginFramework\v5_10_5\Payment_Gateway\External_Checkout\External_Checkout->get_supporting_gateways, WC_Payment_Gateways->get_available_payment_gateways, apply_filters(‘woocommerce_available_payment_gateways’), WP_Hook->apply_filters, WC_Gateway_Afterpay->check_cart_within_limits, WC_Cart->get_cart, wc_doing_it_wrong. This message was added in version 2.3.
The page I need help with: [log in to see the link]
- The topic ‘recurring error message in php_errorlog’ is closed to new replies.