rest api erorr after wp migration
-
Fatal error: Uncaught Automattic\WooCommerce\HttpClient\HttpClientException: JSON ERROR: Syntax error in /opt/bitnami/apps/wordpress/htdocs/back/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php:378 Stack trace: #0 /opt/bitnami/apps/wordpress/htdocs/back/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php(422): Automattic\WooCommerce\HttpClient\HttpClient->processResponse() #1 /opt/bitnami/apps/wordpress/htdocs/back/vendor/automattic/woocommerce/src/WooCommerce/Client.php(56): Automattic\WooCommerce\HttpClient\HttpClient->request() #2 /opt/bitnami/apps/wordpress/htdocs/back/back.php(59): Automattic\WooCommerce\Client->post() #3 {main} thrown in /opt/bitnami/apps/wordpress/htdocs/back/vendor/automattic/woocommerce/src/WooCommerce/HttpClient/HttpClient.php on line 378
I got this error after I moved the site, I changed the links in the request to the actual ones
- The topic ‘rest api erorr after wp migration’ is closed to new replies.