嘟嘟社区

woocom启用paypal插件就会这样


Fatal error: Uncaught TypeError: Argument 1 passed to WooCommercePayPalCommerceApiClientEntityAddress::__construct() must be of the type string, boolean given, called in /www/wwwroot/linxi.eu/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/AddressFactory.php on line 41 and defined in /www/wwwroot/linxi.eu/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/Address.php:69 Stack trace: #0 /www/wwwroot/linxi.eu/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/AddressFactory.php(41): WooCommercePayPalCommerceApiClientEntityAddress->__construct(false, ”, ”, ”, ”, ”) #1 /www/wwwroot/linxi.eu/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/PayerFactory.php(111): WooCommercePayPalCommerceApiClientFactoryAddressFactory->from_wc_customer(Object(WC_Customer), ‘billing’) #2 /www/wwwroot/linxi.eu/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.p in /www/wwwroot/linxi.eu/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/Address.php on line 69