Fatal Error:Uncaught TypeError showed when I activated the plugin
-
Hi, I used the wizard set up to link my live business Paypal account. And I found my site crashed with Fatal Error Uncaught TypeError showed on the screen. I tried to find the solution on the platform. It seems I have the exact same problem in here. However, I didn’t see any solution available in this thread.
The following is my error logsCRITICAL Uncaught TypeError: Return value of WooCommerce\PayPalCommerce\Button\Assets\SmartButton::get_3ds_contingency() must be of the type string, null returned in /www/wwwroot/www.cooeyewear.com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/class-smartbutton.php:611 Stack trace: #0 /www/wwwroot/www.cooeyewear.com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/class-smartbutton.php(693): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->get_3ds_contingency() #1 /www/wwwroot/www.cooeyewear.com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/class-smartbutton.php(412): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->localize_script() #2 /www/wwwroot/www.cooeyewear.com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/class-buttonmodule.php(73): WooCommerce\PayPalCommerce\Button\Assets\SmartButton->enqueue() #3 /www/wwwroot/www.cooeyewear.com/wp-includes/class-wp-hook.php(303): WooCommerce\PayPalC in /www/wwwroot/www.cooeyewear.com/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/class-smartbutton.php on line 611Also, I found that the same issue post here showed that this is a bug and it’ll be fixed in next version.
Therefore, should I wait for the 1.6.1 version or there is a good solution to fix that problem? Thanks a lot!The page I need help with: [log in to see the link]
The topic ‘Fatal Error:Uncaught TypeError showed when I activated the plugin’ is closed to new replies.