Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Please do not post large code or responses like that here, it doesn’t work after ~10 lines or so.

    If you need share that data please use https://gist.github.com/ or https://pastebin.com/ instead and post the link to that paste.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    Hello @bearlydoug

    maybe you can describe in short what error you get. Also you can link & share screenshots privately with us here: https://paypal.inpsyde.com/docs/request-support/

    Please include a link to this thread.

    Kind regards
    Andreas

    Before the over-aggressive moderation was done, it was the actual error message, and the system’s stats log.

    Here’s just the error message:

    
    Fatal error: Uncaught TypeError: Argument 1 passed to WooCommerce\PayPalCommerce\ApiClient\Entity\Address::__construct() must be of the type string, bool given, called in /data/www/[REDACTED]/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/AddressFactory.php on line 41 and defined in /data/www/[REDACTED]/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/Address.php:69 Stack trace: #0 /data/www/[REDACTED]/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Factory/AddressFactory.php(41): WooCommerce\PayPalCommerce\ApiClient\Entity\Address->__construct(false, '', '', '', '', '') #1 /data/www/[REDACTED]/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), 'billing') #2 /data/www/[REDACTED]/wp-content/plugins/woocommerce-pay in /data/www/[REDACTED]/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Entity/Address.php on line 69

    EDITING to add in: Running a child theme of WP Astra and several other plugins (including ones I developed). Just to pre-empt a potential question, I deactivated ALL plugins except WooCommerce and the Woo Paypal plugin and switched to the 2019 theme (unmodified), and had the same result. When I turn off the Woo PayPal plugin, that error goes away.

    Thanks!

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi there,

    Thanks for the feedback, and apologies for getting back just now.
    This error should already be resolved in the latest version 2.0.1. If any issues persist for you, please let us know by creating a new thread.
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Activated PayPal plugin, got error’ is closed to new replies.