PHP Notice: Function get_cart was called incorrectly
-
I am reporting a bug. After doing some troubleshooting and disabling plugins, I found that this notice only happens when this plugin is enabled. When viewing the cart page, your plugin creates this PHP Notice:
[09-Oct-2023 17:23:51 UTC] PHP Notice: Function get_cart was called <strong>incorrectly</strong>. 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, SkyVerge\WooCommerce\PluginFramework\v5_11_5\SV_WC_Payment_Gateway_Plugin->maybe_init_my_payment_methods, SkyVerge\WooCommerce\PluginFramework\v5_11_5\SV_WC_Payment_Gateway_Plugin->tokenization_enabled, SkyVerge\WooCommerce\PluginFramework\v5_11_5\SV_WC_Payment_Gateway_Plugin->get_gateways, SkyVerge\WooCommerce\PluginFramework\v5_11_5\SV_WC_Payment_Gateway_Plugin->get_gateway, GoDaddy\WooCommerce\Poynt\Gateways\PayInPersonGateway->__construct, SkyVerge\WooCommerce\PluginFramework\v5_11_5\SV_WC_Payment_Gateway->__construct, SkyVerge\WooCommerce\PluginFramework\v5_11_5\SV_WC_Payment_Gateway->init_form_fields, GoDaddy\WooCommerce\Poynt\Gateways\PayInPersonGateway->get_method_form_fields, GoDaddy\WooCom in /home/customer/www/americanlaserstudyclub.org/public_html/wp-includes/functions.php on line 5905
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP Notice: Function get_cart was called incorrectly’ is closed to new replies.