• Resolved woji29911

    (@woji29911)


    Hi when I’m manually creating user i get this error, could you help me?:

    [08-Nov-2021 15:13:00 UTC] PHP Fatal error:  Uncaught Error: Object of class WP_Error could not be converted to string in /var/www/wordpress/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php:359
    Stack trace:
    #0 /var/www/wordpress/wp-includes/class-wp-hook.php(303): VIWEC\INCLUDES\Email_Trigger->replace_wp_new_user_email()
    #1 /var/www/wordpress/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    #2 /var/www/wordpress/wp-includes/pluggable.php(2124): apply_filters()
    #3 /var/www/wordpress/wp-includes/user.php(3028): wp_new_user_notification()
    #4 /var/www/wordpress/wp-includes/class-wp-hook.php(303): wp_send_new_user_notifications()
    #5 /var/www/wordpress/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
    #6 /var/www/wordpress/wp-includes/plugin.php(470): WP_Hook->do_action()
    #7 /var/www/wordpress/wp-admin/includes/user.php(241): do_action()
    #8 /var/www/wordpress/wp-admin/user-new.php(189): edit_user()
    #9 {main}
      thrown in /var/www/wordpress/wp-content/plugins/woocommerce-email-template-customizer/includes/email-trigger.php on line 359
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelagrey

    (@angelagrey)

    Hello,

    We are confused. Our plugin is to customize email templates sent by WooCommerce. It can not interfere in sending email or setting receivers, as well as creating users.
    For that issue, please try using a plugin with the feature you need. If it still involves our plugin, please clarify to us as specific as possible, how and where the issue appeared, your manipulation, screenshot.
    We will help you check.

    Best regards.

    Thread Starter woji29911

    (@woji29911)

    Hi, I’m not sure if error is caused by plugin or some other things but, when I deactivate plugin – there is no errors. Anyway it could be other plugin conflict.

    How to reproduce the error:
    1. In wordpress admin panel
    2. Users
    3. Add new
    4. Fill all the fields
    5. When I click create user site crushes (user is created anyway)
    6. If I uncheck “Send the new user an email about their account.” – all works good

    Any ideas? ??

    Plugin Support angelagrey

    (@angelagrey)

    Hello,

    We apologize for this late reply. How is it going about your issue?

    We have tested on our site, creating users manually with our plugin activated. There’s no problem. You can see the video below.
    https://drive.google.com/file/d/1HDodLqreQzT8ZLrxlGMDtVGpRplCc8ya/view?usp=sharing

    Have you tried deactivating all plugins to test one by one? Please let us know the result.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error when manually creating users’ is closed to new replies.