• Resolved sanderrrrr

    (@sanderrrrr)


    Hello,
    i have filed a ticket before. Unfortunately there are still several errors related to this plugin in the error_log. I try to copy one below. There are many of these.

    2022-11-17 13:30:33.733673 [NOTICE] [3943814] [T0] [127.0.0.1:45682-8#APVH_website.nl:lsapi] [STDERR] PHP Fatal error:  Uncaught TypeError: WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO::WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}(): Argument #2 ($order) must be of type WC_Order, null given, called in /var/www/vhosts/website.nl/httpdocs/wp-includes/class-wp-hook.php on line 308 and defined in /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php:website.nl
    Stack trace:
    #0 /var/www/vhosts/website.nl/httpdocs/wp-includes/class-wp-hook.php(308): WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\OXXO->WooCommerce\PayPalCommerce\WcGateway\Gateway\OXXO\{closure}('Bedankt. Je bes...', NULL)
    #1 /var/www/vhosts/website.nl/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters('Bedankt. Je bes...', Array)
    #2 /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce/templates/checkout/thankyou.php(84): apply_filters('woocommerce_tha...', 'Bedankt. Je bes...', NULL)
    #3 /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/var/www/vhosts...')
    #4 /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(279): wc_get_template('checkout/thanky...', Array)
    #5 /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(63): WC_Shortcode_Checkout::order_received(8982)
    #6 /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output('')
    #7 /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, '')
    #8 /var/www/vhosts/website.nl/httpdocs/wp-includes/shortcodes.php(355): WC_Shortcodes::checkout('', '', 'woocommerce_che...')
    #9 [internal function]: do
    2022-11-17 13:30:33.733718 [NOTICE] [3943814] [T0] [127.0.0.1:45682-8#APVH_website.nl:lsapi] [STDERR] _shortcode_tag(Array)
    #10 /var/www/vhosts/website.nl/httpdocs/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(woocom...', 'do_shortcode_ta...', '[woocommerce_ch...')
    #11 /var/www/vhosts/website.nl/httpdocs/wp-includes/class-wp-hook.php(308): do_shortcode('[woocommerce_ch...')
    #12 /var/www/vhosts/website.nl/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters('[woocommerce_ch...', Array)
    #13 /var/www/vhosts/website.nl/httpdocs/wp-includes/post-template.php(255): apply_filters('the_content', '<!-- wp:shortco...')
    #14 /var/www/vhosts/website.nl/httpdocs/wp-content/themes/salient/page.php(30): the_content()
    #15 /var/www/vhosts/website.nl/httpdocs/wp-includes/template-loader.php(106): include('/var/www/vhosts...')
    #16 /var/www/vhosts/website.nl/httpdocs/wp-blog-header.php(19): require_once('/var/www/vhosts...')
    #17 /var/www/vhosts/website.nl/httpdocs/index.php(17): require('/var/www/vhosts...')
    #18 {main}
      thrown in /var/www/vhosts/website.nl/httpdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/OXXO/OXXO.php on line website.nl
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @sanderrrrr,

    Are you using the latest version 1.9.5?
    This version includes a fix for a similar error and I would expect it to resolve this issue.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter sanderrrrr

    (@sanderrrrr)

    Hello,

    based on your recommendations i manually updated to version 2.0.0-test3.
    How should I proceed?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @sanderrrrr,

    Apologies for getting back just now.
    This error should be resolved with the latest PayPal Payments update 2.0.1.
    So I suggest updating the plugin to the latest version and letting us know if any problems or questions remain.
    Thank you!

    Kind regards,
    Niklas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Still errors in error_log’ is closed to new replies.