• Resolved christophrado

    (@christophrado)


    I’m repeatedly seeing the following error recently:

    Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, array given in /wp-content/plugins/no-bot-registration/no-bot-registration.php:398
    Stack trace:
    #0 /wp-content/plugins/no-bot-registration/no-bot-registration.php(398): explode()
    #1 /wp-includes/class-wp-hook.php(324): ajdg_nobot_blacklist()
    #2 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #3 /wp-includes/user.php(3467): apply_filters()
    #4 /wp-login.php(1131): register_new_user()
    #5 {main}
    thrown in /wp-content/plugins/no-bot-registration/no-bot-registration.php on line 398′, referer: /wp-login.php?action=register

    This seems to be related to ajdg_nobot_blacklist_usernames. I’ve had usernames listed in new-line format and have now changed to comma-separated to see if this makes any difference.

    It looks like this might need an additional check to catch this error.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error loading blacklisted usernames’ is closed to new replies.