• Resolved Daniel Chase

    (@riseofweb)


    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)
  • Plugin Support jessicaskyverge

    (@jessicaskyverge)

    Hey @riseofweb ,

    Thanks for getting in touch with the Managed WooCommerce Care team! I’m Jessica and I’m happy to help out here. ??

    I appreciate you letting us know this notice is occurring. I couldn’t replicate this notice, and this is is only making us aware that the issue could occur with a future version of PHP. Can you confirm you tested with only GoDaddy Payments and WooCommerce active?

    Can you also let me know what version of PHP you are using?

    Thank you,
    Jessica | Merchant Success Team

    Thread Starter Daniel Chase

    (@riseofweb)

    WooCommerce version 8.1.1

    WordPress version 8.1.1

    Php version 7.4.33

    Sorry no I have another plugins activated as well.

    Plugin Support jessicaskyverge

    (@jessicaskyverge)

    Hey @riseofweb,

    Can you clarify the WordPress Version? The latest release is 6.3 according to their site here: https://www.ads-software.com/news/category/releases/.

    In my testing, I was using the latest version of WooCommerce, which is version 8.2. Can you try updating to WooCommerce v8.2 and let me know if the PHP notice continues for you?

    Thank you,
    Jessica | Merchant Success Team

    Plugin Support Zach

    (@zachskyverge)

    Hey @riseofweb,

    It has been a long time since we heard from you, so I’m going to mark this topic as resolved.

    If you’re still experiencing issues please take a look at our FAQs for more information and create a new thread if you have further questions.

    Thanks,
    Zach ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Notice: Function get_cart was called incorrectly’ is closed to new replies.