• Resolved geonolis

    (@geonolis)


    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/

    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)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘php error’ is closed to new replies.