• Resolved mowlman

    (@mowlman)


    Thought I would try your plugin out but…
    Plugin could not be activated because it triggered a fatal error.
    WooCommerce Address BookVersion: 1.4.0
    woocommerce Version: 3.4.3
    wordpress Version: 4.9.8

    I’m not seeing anything in my error logs, not sure what to try.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Gary Thayer

    (@doomwaxer)

    Thanks for your report.

    I have been unable to replicate the issue, running:

    Woo Address Book Version: 1.4.0
    WooCommerce Version: 3.4.5
    WordPress Version: 4.9.8

    I’ve not heard of any other reports, so I suspect there is a conflict somewhere on your system. If you find more info, please let me know.

    I just ran into this too. In my case, it was an out of memory (OOM) error resulting from attempting to activate on a site with tens of thousands of users. The activation function of the plugin tries to allocate an array of full user objects for every user on the site. That choked my server.

    I made some changes to the activation function and sent you a PR.

    Plugin Author Hall

    (@hallme)

    Thanks for the Pull Request pjv. It looks good and it should fix the out of memory issue on sites with many users.

    It has been merged and is now available in version 1.4.1 of the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fatal error – could not be activated’ is closed to new replies.