Title: php error
Last modified: December 8, 2022

---

# php error

 *  Resolved [geonolis](https://wordpress.org/support/users/geonolis/)
 * (@geonolis)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-error-557/)
 * I get a PHP error, involving PayPal Payments, after order checkout on thank-you
   page:
 *  AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: WooCommerce\\
   PayPalCommerce\\WcGateway\\Gateway\\OXXO\\OXXO::WooCommerce\\PayPalCommerce\\
   WcGateway\\Gateway\\OXXO\\{closure}(): Argument #1 ($message) must be of type
   string, null given, called in /var/www/vhosts/gipapamanolis.gr/odosermou.gr/wp-
   includes/class-wp-hook.php on line 308 and defined in /var/www/vhosts/gipapamanolis.
   gr/odosermou.gr/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-
   gateway/src/Gateway/OXXO/OXXO.php:88\nStack trace:\n#0 /var/www/vhosts/gipapamanolis.
   gr/odosermou.gr/wp-includes/class-wp-hook.php(308): WooCommerce\\PayPalCommerce\\
   WcGateway\\Gateway\\OXXO\\OXXO->WooCommerce\\PayPalCommerce\\WcGateway\\Gateway\\
   OXXO\\{closure}(NULL, Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order))\
   n#1 /var/www/vhosts/gipapamanolis.gr/odosermou.gr/wp-includes/plugin.php(205):
   WP_Hook->apply_filters(NULL, Array)\n#2 /var/www/vhosts/gipapamanolis.gr/odosermou.
   gr/wp-content/themes/woodmart/woocommerce/checkout/thankyou.php(58): apply_filters(‘
   woocommerce_th…’, referer: [https://www.odosermou.gr/checkout/](https://www.odosermou.gr/checkout/)
 * The same error appears after every order, no matter which payment gateway is 
   chosen by the user. The error is fatal, that is the front-end doesnot load correctly
   and thank-you page scripts do not run.
    The error stopped appearing after deactivating
   PayPal Payments plugin. The error first appeared after recent updating of Woocommerce
   to v.7.1.1. Could you check? Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [geonolis](https://wordpress.org/support/users/geonolis/)
 * (@geonolis)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-error-557/#post-16272865)
 * UPDATE:
    I installed the Paypal Payments pre-release version 2.0.1-rc1 from [https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/2.0.1-rc1](https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/2.0.1-rc1)
   and the errors stopped appearing. It seems ok for the moment!
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-error-557/#post-16272954)
 * Hi [@geonolis](https://wordpress.org/support/users/geonolis/),
 * Thanks for the feedback.
    The upcoming update improves the compatibility with
   third-party plugins and should officially be released on Monday. If you encounter
   any troubles with the pre-release, don’t hesitate to let us know. Thanks!
 * Kind regards,
    Niklas
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-error-557/#post-16326540)
 * We have not heard back from you in a while, and the problem should be fixed in
   the latest version, so I’m marking this thread as resolved.
   If you have any further
   questions, please feel free to reopen this topic or create a new one. Thanks!
 *  [the_lar](https://wordpress.org/support/users/the_lar/)
 * (@the_lar)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-error-557/#post-16365701)
 * Same error on very latest version – see seperate thread here [https://wordpress.org/support/topic/fatal-error-after-upgrading-to-2-0-1/#new-topic-0](https://wordpress.org/support/topic/fatal-error-after-upgrading-to-2-0-1/#new-topic-0)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘php error’ 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/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 4 replies
 * 3 participants
 * Last reply from: [the_lar](https://wordpress.org/support/users/the_lar/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/php-error-557/#post-16365701)
 * Status: resolved