• Resolved forthinc

    (@forthinc)


    Just updated to 2.0.4 and it refuses to activate:

    “Plugin could not be activated because it triggered a fatal error.
    Fatal error: Arrays are not allowed in class constants in /…/wp-content/plugins/woocommerce-mailchimp/includes/class-ss-wc-mailchimp-migrator.php on line 13”

    Latest WordPress (4.6.1) and WooCommerce (2.6.4).

    • This topic was modified 8 years, 2 months ago by forthinc.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Adam Anderly

    (@anderly)

    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.”

    Plugin Author Adam Anderly

    (@anderly)

    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!

    Plugin Author Adam Anderly

    (@anderly)

    Great to hear! Let me know if you run into anything else.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error on activation’ is closed to new replies.