Fatal errors after trying sync via WP CLI
-
We’ve been having trouble syncing a show of one of our customers to MailChimp using this plugin.
After having switched to much faster server we tried to re-run the initial sync via WP CLI.
As for the products: 155 coupons and 1334 products were synced correctly, however after (a really long) while the order sync gets stuck at 2907 of 9679 orders with these errors:PHP Fatal error: Uncaught TypeError: Argument 1 passed to MailChimp_WooCommerce_Order::fromArray() must be of the type array, null given, called in /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php on line 961 and defined in /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/assets/class-mailchimp-order.php:555 Stack trace: #0 /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php(961): MailChimp_WooCommerce_Order->fromArray(NULL) #1 /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/processes/class-mailchimp-woocommerce-process-orders.php(70): MailChimp_WooCommerce_MailChimpApi->addStoreOrder('5b1922c1b667f', Object(MailChimp_WooCommerce_Order), false) #2 /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/processes/class-mailchimp-woocomm in /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/assets/class-mailchimp-order.php on line 555 Fatal error: Uncaught TypeError: Argument 1 passed to MailChimp_WooCommerce_Order::fromArray() must be of the type array, null given, called in /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php on line 961 and defined in /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/assets/class-mailchimp-order.php:555 Stack trace: #0 /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php(961): MailChimp_WooCommerce_Order->fromArray(NULL) #1 /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/processes/class-mailchimp-woocommerce-process-orders.php(70): MailChimp_WooCommerce_MailChimpApi->addStoreOrder('5b1922c1b667f', Object(MailChimp_WooCommerce_Order), false) #2 /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/processes/class-mailchimp-woocomm in /var/www/vhosts/shop/httpdocs/wp-content/plugins/mailchimp-for-woocommerce/includes/api/assets/class-mailchimp-order.php on line 555
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Fatal errors after trying sync via WP CLI’ is closed to new replies.