@khungate rest api is enabled.
Everything works, except it won’t sync.
When i visit [mysite]/wp-json/mailchimp-for-woocommerce/v1
I get:
{"namespace":"mailchimp-for-woocommerce\/v1","routes":{"\/mailchimp-for-woocommerce\/v1":{"namespace":"mailchimp-for-woocommerce\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":{"namespace":{"required":false,"default":"mailchimp-for-woocommerce\/v1"},"context":{"required":false,"default":"view"}}}],"_links":{"self":"https:\/\/www.vanrene.nl\/wp-json\/mailchimp-for-woocommerce\/v1"}},"\/mailchimp-for-woocommerce\/v1\/ping":{"namespace":"mailchimp-for-woocommerce\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":"https:\/\/www.vanrene.nl\/wp-json\/mailchimp-for-woocommerce\/v1\/ping"}},"\/mailchimp-for-woocommerce\/v1\/queue\/work":{"namespace":"mailchimp-for-woocommerce\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":"https:\/\/www.vanrene.nl\/wp-json\/mailchimp-for-woocommerce\/v1\/queue\/work"}},"\/mailchimp-for-woocommerce\/v1\/queue\/work\/force":{"namespace":"mailchimp-for-woocommerce\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":"https:\/\/www.vanrene.nl\/wp-json\/mailchimp-for-woocommerce\/v1\/queue\/work\/force"}},"\/mailchimp-for-woocommerce\/v1\/queue\/stats":{"namespace":"mailchimp-for-woocommerce\/v1","methods":["GET"],"endpoints":[{"methods":["GET"],"args":[]}],"_links":{"self":"https:\/\/www.vanrene.nl\/wp-json\/mailchimp-for-woocommerce\/v1\/queue\/stats"}},"\/mailchimp-for-woocommerce\/v1\/survey\/disconnect":{"namespace":"mailchimp-for-woocommerce\/v1","methods":["POST"],"endpoints":[{"methods":["POST"],"args":[]}],"_links":{"self":"https:\/\/www.vanrene.nl\/wp-json\/mailchimp-for-woocommerce\/v1\/survey\/disconnect"}}},"_links":{"up":[{"href":"https:\/\/www.vanrene.nl\/wp-json\/"}]}}
Which looks fine, no errors.
I’ve added this to my wp-config.php
define('ALTERNATE_WP_CRON' , true );
define('DISABLE_WP_HTTP_WORKER', true);
define('MAILCHIMP_USE_CURL', true);
This starts up the connecting process, makes the rest api error disappear. All the way up to last step: syncing. Then i get this error:
2019-09-19T19:12:34+00:00 NOTICE sync.started :: Starting Sync :: Thu, Sep 19, 2019 7:12 PM
2019-09-19T19:12:34+00:00 ERROR mailchimp_woocommerce_rest_api_get :: ::