Fatar Error
-
Hello there,
After latest update we starting seeing the following error.
2024-01-06T05:19:26+00:00 CRITICAL Uncaught TypeError: WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource::name(): Return value must be of type string, null returned in /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/PaymentSource.php:50 Stack trace: #0 /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/ContextTrait.php(182): WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource->name() #1 /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-session/src/Cancellation/CancelController.php(66): WooCommerce\PayPalCommerce\Session\Cancellation\CancelController->is_paypal_continuation() #2 /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-session/src/SessionModule.php(57): WooCommerce\PayPalCommerce\Session\Cancellation\CancelController->run() #3 /var/www/gg/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Session\SessionModule->WooCommerce\PayPalCommerce\Session\{closure}(”) #4 /var/www/gg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /var/www/gg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /var/www/gg/wp-content/plugins/woocommerce/includes/class-woocommerce.php(712): do_action(‘woocommerce_ini…’) #7 /var/www/gg/wp-includes/class-wp-hook.php(324): WooCommerce->init(”) #8 /var/www/gg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /var/www/gg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /var/www/gg/wp-settings.php(643): do_action(‘init’) #11 /var/www/gg/wp-config.php(85): require_once(‘/var/www/gg/wp-…’) #12 /var/www/gg/wp-load.php(50): require_once(‘/var/www/gg/wp-…’) #13 /var/www/gg/wp-admin/admin-ajax.php(22): require_once(‘/var/www/gg/wp-…’) #14 {main} thrown in /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/PaymentSource.php on line 50 2024-01-06T05:19:26+00:00 CRITICAL Uncaught TypeError: WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource::name(): Return value must be of type string, null returned in /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/PaymentSource.php:50 Stack trace: #0 /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Helper/ContextTrait.php(182): WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource->name() #1 /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-session/src/Cancellation/CancelController.php(66): WooCommerce\PayPalCommerce\Session\Cancellation\CancelController->is_paypal_continuation() #2 /var/www/gg/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-session/src/SessionModule.php(57): WooCommerce\PayPalCommerce\Session\Cancellation\CancelController->run() #3 /var/www/gg/wp-includes/class-wp-hook.php(324): WooCommerce\PayPalCommerce\Session\SessionModule->WooCommerce\PayPalCommerce\Session\{closure}(”) #4 /var/www/gg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #5 /var/www/gg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /var/www/gg/wp-content/plugins/woocommerce/includes/class-woocommerce.php(712): do_action(‘woocommerce_ini…’) #7 /var/www/gg/wp-includes/class-wp-hook.php(324): WooCommerce->init(”) #8 /var/www/gg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /var/www/gg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /var/www/gg/wp-settings.php(643): do_action(‘init’) #11 /var/www/gg/wp-config.php(85): require_once(‘/var/www/gg/wp-…’) #12 /var/www/gg/wp-load.php(50): require_once(‘/var/www/gg/wp-…’) #13 /var/www/gg/wp-blog-header.php(13): require_once(‘/var/www/gg/wp-…’) #14 /var/www/gg/index.php(17): require(‘/var/www/gg/wp-…’) #15 {main}
In addition, we still have the problem with the safari option hiding IP address and the buttons not showing in the cart and the checkout page.
Please advise.
Thank you.
The topic ‘Fatar Error’ is closed to new replies.