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
or
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.