• We are using OnTheGoSystems Toolset for registering new users.
    The user registration form is done using Toolset Cred.
    After a succesful registration the user should be directed to another page but after installing the Mailerlite Woocommerce plugin the user registration leads to a fatal error.

    We are using newest version (1.7.10) of the plugin.
    The user registration has nothing to do with signing up for a newsletter or WooCommerce so maybe Mailerlite shouldn’t hook to the new user creation?

    We were using Mailchimp integration (WP WooCommerce Mailchimp) just a few days ago and everything was working fine.
    My client is a paid Mailerlite subscriber so please fix this. I read the negative reviews but the changelog showed steady updates so I thought most of the bugs must have been squashed. It turns out there is still work to do. I’ve recommended Mailerlite to other clients as well but this is casting a bad shadow on Mailerlite.

    Here is the debug log for the error.

    [03-Oct-2022 11:05:38 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function woo_ml_customer_update(), 1 passed in /var/www/clients/client5/web5/web/wp-includes/class-wp-hook.php on line 292 and exactly 2 expected in /var/www/clients/client5/web5/web/wp-content/plugins/woo-mailerlite/includes/hooks.php:208
    Stack trace:
    #0 /var/www/clients/client5/web5/web/wp-includes/class-wp-hook.php(292): woo_ml_customer_update(396)
    #1 /var/www/clients/client5/web5/web/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/clients/client5/web5/web/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /var/www/clients/client5/web5/web/wp-includes/user.php(2119): do_action('user_register', 396)
    #4 /var/www/clients/client5/web5/web/wp-content/plugins/cred-frontend-editor/library/toolset/cred/embedded/models/UserForms.php(681): wp_insert_user(Array)
    #5 /var/www/clients/client5/web5/web/wp-content/plugins/cred-frontend-editor/application/models/form/user.php(215): CRED_User_Forms_Model->createUser(Array)
    #6 /var/w in /var/www/clients/client5/web5/web/wp-content/plugins/woo-mailerlite/includes/hooks.php on line 208
    • This topic was modified 2 years, 1 month ago by olppa.
  • The topic ‘New user creation causes fatal error’ is closed to new replies.