Today i noticed this strange error into my Woocommerce site. When try to checkout, fill all data, and press on Paypal button (I use Paypal as payment gateway), i get this error into top:
SyntaxError: Unexpected token < in JSON at position 0
Internal Server Error
What i tryed to resolve:
Disabled all plugins to identify conflict between -> No luck
Tryed to check Inspect Element, and see this warning:
Unable to fix malformed JSON checkout.min.js:1
Also checked error_log into my server, and there have this error:
[18-Apr-2018 17:04:17 UTC] PHP Fatal error: Call to a member function get_order_number() on boolean in /home/moodmint/public_html/wp-content/plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php on line 77
Can you help me to resolve this? i use Latest Woocommerce 3.3.5.Site URL: hidden Theme version: 4.2.1 WooCommerce version: 3.3.5
Please check if this issue persists only with our theme or with default Woocommerce theme (Storefront) too.
Hi, i checked and problem persist also with Storefront theme.. Can you take a look what is going on pls? Thanks in advance.
We are theme support and we can help you with issues related strictly to our theme.
I would recommend you to contact woocommerce support.
You’re welcome. Feel free to ask if you have any other questions.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.