Title: Still errors in error_log
Last modified: November 17, 2022

---

# Still errors in error_log

 *  Resolved [sanderrrrr](https://wordpress.org/support/users/sanderrrrr/)
 * (@sanderrrrr)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/still-errors-in-error_log/)
 * 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](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/still-errors-in-error_log/#post-16209768)
 * Hi [@sanderrrrr](https://wordpress.org/support/users/sanderrrrr/),
 * Are you using the latest version 1.9.5?
    This version includes a fix for a [similar error](https://github.com/woocommerce/woocommerce-paypal-payments/pull/899)
   and I would expect it to resolve this issue. Thanks!
 * Kind regards,
    Niklas
 *  Thread Starter [sanderrrrr](https://wordpress.org/support/users/sanderrrrr/)
 * (@sanderrrrr)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/still-errors-in-error_log/#post-16212714)
 * Hello,
 * based on your recommendations i manually updated to version 2.0.0-test3.
    How
   should I proceed?
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/still-errors-in-error_log/#post-16288693)
 * Hi [@sanderrrrr](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/still-errors-in-error_log/#post-16288693)
 * Status: resolved