PHP Fatal Error when accessing REST API endpoint
-
Hello,
Getting an error on accessing REST API endpoint “/wp-json/wc/v1” when not logged-in.
Here is stack trace:
[08-Nov-2021 05:49:09 UTC] PHP Fatal error: Uncaught Error: Call to a member function get() on null in /apps/wordpress/htdocs/wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php:191 Stack trace: #0 /apps/wordpress/htdocs/wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php(340): Automattic\WooCommerce\Pinterest\Tracking::get_hashed_customer_email() #1 /apps/wordpress/htdocs/wp-content/plugins/pinterest-for-woocommerce/src/Tracking.php(79): Automattic\WooCommerce\Pinterest\Tracking::base_tag() #2 /apps/wordpress/htdocs/wp-includes/class-wp-hook.php(303): Automattic\WooCommerce\Pinterest\Tracking::maybe_init()
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP Fatal Error when accessing REST API endpoint’ is closed to new replies.