• Resolved James Maiden

    (@reallygreenjames)


    Hi there,

    We are logging errors when new users register:

    WordPress version 6.2
    Active theme: Cardiff Otter Project (version 1.1.1)
    Current plugin: Anti-Spam by CleanTalk (version 6.7)
    PHP version 8.1.11
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 225 of the file /home/otterproject/public_html/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-common.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /home/otterproject/public_html/wp-content/plugins/cleantalk-spam-protect/inc/cleantalk-common.php:225
    Stack trace:
    #0 /home/otterproject/public_html/wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/Antispam/Integrations.php(92): apbct_base_call(Array, true)
    #1 /home/otterproject/public_html/wp-includes/class-wp-hook.php(308): Cleantalk\Antispam\Integrations->checkSpam('7jG4mw8yMURM')
    #2 /home/otterproject/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('7jG4mw8yMURM', Array)
    #3 /home/otterproject/public_html/wp-content/plugins/new-user-approve-premium/new-user-approve.php(666): apply_filters('nua_pass_create...', '7jG4mw8yMURM')
    #4 /home/otterproject/public_html/wp-includes/class-wp-hook.php(308): pw_new_user_approve->create_new_user('alejandradonagh...', 'brennadaniele@d...', Object(WP_Error))
    #5 /home/otterproject/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #6 /home/otterproject/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /home/otterproject/public_html/wp-includes/user.php(3379): do_action('register_post', 'ale***agh...', 'bre***ele@d...', Object(WP_Error))
    #8 /home/otterproject/public_html/wp-login.php(1059): register_new_user('ale***agh...', 'bre***ele@d...')
    #9 {main}
    thrown

    When this happens, the registration form fails to submit.

    It looks like there is possibly some issue here with the New User Approve Preimium plugin. I will also open a ticket with them, but it would be good to see what you can suggest here too.

    Thanks,

    James

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error thrown when user registers’ is closed to new replies.