• Resolved the_lar

    (@the_lar)


    Hi,

    Just upgraded to 2.0.1 on our staging site and whilst front end seems fine, I get a critical error on admin. Delving into the logs I’m getting these errors:

    [12-Jan-2023 10:10:24 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO::WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}() must be of the type array, null given, called in /home/chapterserver2/dev/4x4tyres/public_html/wp/wp-includes/class-wp-hook.php on line 307 and defined in /home/chapterserver2/dev/4x4tyres/public_html/app/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php:66
    Stack trace:
    #0 /home/chapterserver2/dev/4x4tyres/public_html/wp/wp-includes/class-wp-hook.php(307): WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO->WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}(NULL)
    #1 /home/chapterserver2/dev/4x4tyres/public_html/wp/wp-includes/plugin.php(191): WP_Hook->apply_filters(NULL, Array)
    #2 /home/chapterserver2/dev/4x4tyres/public_html/app/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters('woocommerce_ava...', Array)
    #3 /home/chapterserver2/dev/4x4tyres/public_html/app/plugins/woocommer in /home/chapterserver2/dev/4x4tyres/public_html/app/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php on line 66

    I’m going to have downgrade for now until this is resolved.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter the_lar

    (@the_lar)

    To confirm, no errors now having downgraded to 1.9.5

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @the_lar

    Thank you for reaching out to us, we are here to help.

    This error is not a common one, so we would expect that there might be a mix of plugins present on your site that cause this issue. Have you done any conflict testing on your staging site?

    If you are not able to find any issue, we would like to take a closer look. For this, we would like to ask you to provide us more details on your site, like system report and the plugin logs.

    If you don’t feel comfortable sharing those details on a public forum, please open a ticket with our service desk. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
    (please add the URL of this thread in the ticket as well)

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    since we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions for us, please open a new thread, because we will mark this one as resolved.

    Kind regards,
    Joost

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error after upgrading to 2.0.1’ is closed to new replies.