Uncaught TypeError
-
There’s an error breaking my site with the latest version of WooCommerce and WooCommerce PayPal Payments.
See the error below:
Fatal error: Uncaught TypeError: Return value of WooCommerce\PayPalCommerce\Button\Assets\SmartButton::intent() must be of the type string, null returned in /home/customer/www/pureherba.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php:1551 Stack trace: #0 /home/customer/www/pureherba.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(1014): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->intent() #1 /home/customer/www/pureherba.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(816): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->url_params() #2 /home/customer/www/pureherba.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php(614): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->script_data() #3 /home/customer/www/pureherba.com/public_html/wp-content/plugins/woocommerce-p in?/home/customer/www/pureherba.com/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php?on line?1551
Are you aware of this? Is this happening for anyone else?
- The topic ‘Uncaught TypeError’ is closed to new replies.