Fatal error when a wrong REST API endpoint is call
-
Hey,
URL:
http://site.test/wp-login.php/wp-json/wp/v2/users/1Error:
Fatal error : Uncaught Error: Call to a member function get_applied_coupons() on null in /***/plugins/duracelltomi-google-tag-manager/integration/woocommerce.php:309It would be great if you skip to execute the code block in the REST environment or maybe checking if the cart has the object?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Fatal error when a wrong REST API endpoint is call’ is closed to new replies.