• Good day,

    We are running this plugin on our website for when a user registers for an event. The below error is thrown:

    Fatal error: Uncaught Error: strpos(): Argument #1 ($haystack) must be of type string, array given
    in /usr/www/users/trainrexnm/wp-content/plugins/auto-login-new-user-after-registration/auto-login-new-user-after-registration.php on line 241

    Call stack:

    strpos()
    wp-content/plugins/auto-login-new-user-after-registration/auto-login-new-user-after-registration.php:241
    alnuar_disable_admin_new_user_notification_email()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/plugin.php:189
    apply_filters()
    wp-includes/pluggable.php:200
    wp_mail()
    wp-content/plugins/registrations-for-the-events-calendar/inc/class-rtec-email.php:87
    RTEC_Email::send_email()
    wp-content/plugins/registrations-for-the-events-calendar/inc/class-rtec-submission.php:374
    RTEC_Submission::process_valid_submission()
    wp-content/plugins/registrations-for-the-events-calendar/inc/form/form-functions.php:247
    rtec_process_form_submission()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:474
    do_action()
    wp-admin/admin-ajax.php:187

    The website then just hangs on the loading circle indefinitely.
    Please can you provide some assistance as to how we can resolve this?

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jeff Sherk

    (@jsherk)

    What version of plugin are you using?

    Also, what options do you have selected on the settings page?

    Thanks

    Thread Starter kylemccarthy

    (@kylemccarthy)

    Hi Jeff,

    We are using version 1.9.4

    Settings:

    Enabled:
    Check to ENABLE auto-login for new user after registration
    Check to ENABLE First Name required field on new user registration form
    Check to ENABLE Last Name required field on new user registration form
    Check to ENABLE Password required fields on new user registration form
    Check to ENABLE admin notification email of new user registrations

    Disabled:
    Check to change the text in new users welcome email from “set your password” to “change your password”
    Check to ENABLE admin notification email of users lost/changed passwords

    Left blank
    Enter web page to redirect after registration, or leave blank for default behavior

    Thanks in advance

    Plugin Author Jeff Sherk

    (@jsherk)

    Can you try CHECK/ENABLE the option
    Check to ENABLE admin notification email of users lost/changed passwords

    And tell me if the error goes away please?

    Thread Starter kylemccarthy

    (@kylemccarthy)

    Hi Jeff,

    That seems to have resolved the issue. Thank you.

    Plugin Author Jeff Sherk

    (@jsherk)

    I will upload a fix probably today sometime so that you will be able to Uncheck/Disable that option again, but until I do that, please leave it Checked/Enabled.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Website hangs when a user registers.’ is closed to new replies.