• Resolved keithhill1968

    (@keithhill1968)


    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.7

    woocommerce 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]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter keithhill1968

    (@keithhill1968)

    Its probably also worth noting, I copied that site to the a staging environment and disabled the afterpay gateway this has stopped the error, but we don’t want to switch off afterpay on our live site.

    Thanks
    Keith

    Thread Starter keithhill1968

    (@keithhill1968)

    Hi there guys,
    is there any update on this please, my log files are continuing to grow.

    Thanks
    Keith

    Thread Starter keithhill1968

    (@keithhill1968)

    I have submitted a request directly on the afterpay web site for help looking into this. I’ll follow up there.

    Thanks
    Keith

    • This reply was modified 3 years, 11 months ago by keithhill1968.
    Plugin Author Afterpay

    (@afterpayit)

    Hi @keithhill1968,

    Thank you for your patience in this matter. The level of detail provided in this ticket is appreciated. As this has been resolved by alternative channels this ticket will now be closed.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘recurring error message in php_errorlog’ is closed to new replies.