Fatal error after putting a product into menu cart
-
I use Version plugin version 2.0.1 and WordPress WordPress 6.1.1. There occurs a permanent fatal error after putting a product into menu cart:
Fatal error: Uncaught TypeError: Argument 1 passed to WooCommerce\PayPalCommerce\ApiClient\Entity\Address::__construct() must be of the type string, bool given, called in /kunden/xxx_xxx/webseiten/35_xxx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/AddressFactory.php on line 41 and defined in /kunden/xxx_xxx/webseiten/35_xxx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/Address.php:69 Stack trace: #0 /kunden/xxx_xxx/webseiten/35_xxx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/AddressFactory.php(41): WooCommerce\PayPalCommerce\ApiClient\Entity\Address->__construct(false, ‘Asamstra\xC3\x9Fe 1’, ”, ‘DE-BY’, ‘M\xC3\xBCnchen’, 12345) #1 /kunden/xxx_xxx/webseiten/35_xxx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/PayerFactory.php(111): WooCommerce\PayPalCommerce\ApiClient\Factory\AddressFactory->from_wc_customer(Object(WC_Customer), ‘bi in /kunden/xxx_xxx/webseiten/35_xxx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/Address.php on line 69
- The topic ‘Fatal error after putting a product into menu cart’ is closed to new replies.