I just pushed version 2.0.5 to fix this which is for versions of PHP prior to 5.5. Please try again. If you can, I would suggest updating to at least WordPress 5.6 since versions prior to that will no longer be patched with security updates.
Let me know if you run into any other issues.
Hi, I am also getting the error with Version 2.0.5 of WooCommerce MailChimp:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Arrays are not allowed in class constants in /home/snsn3818/public_html/wp-content/plugins/woocommerce-mailchimp/includes/class-ss-wc-mailchimp-migrator.php on line 13
I am using what WordPress tells me is “latest version of WordPress” – version 4.6.1.
I was using PHP 5.3, and updated to 5.5, but I am still getting “Plugin could not be activated because it triggered a fatal error.”
My apologies. We hadn’t yet tested on older versions of PHP. We just finished some fixes and tested the plugin on PHP 5.4, 5.5, 5.6 and 7.0.
Version 2.0.6 was just pushed to the WordPress plugin repository and should fix the issue.
Let me know if you have any questions or still run into any problems.
-Adam
Fantastic, that works now. Thank you, Adam!
Great to hear! Let me know if you run into anything else.