• Resolved qubic

    (@qubic)


    I’m trying to add a couple people to my site to post news up. I got them to register to find the email wasn’t going through to them and my new email registration email came through with their username showing as a blank along with their email address.
    Have tried registering myself and all seems fine for the users except no email. Have looked in the WP-Admin and at the users and every time a new member registers, i’m getting this error

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/bex/sonybrands.com/wp-includes/user.php  on line 640
    
    Warning: Invalid argument supplied for foreach() in /home/bex/sonybrands.com/wp-includes/user.php on line 640

    I’ve disabled all my plugins, changed my theme, replaced the user.php file, cleared my cache and it’s still not working. Am out of ideas :S

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter qubic

    (@qubic)

    I think I’ve found what the real issue is but, I don’t know how to fix it.

    When someone registers on my blog they don’t get the confirmation email and the new user registration sent to me shows me a blank username and email address. If I go to PHPMyAdmin, the new user shows as 222244 for example, instead of 44. And in the wordpress admin under users, they appear in the right place in the list based on the name they chose but, again that’s just blank and the url to edit the user, shows it as 0 and tells me the User ID is invalid.

    If I however, change the userID from within PHPMyAdmin to the two digit figure (ie 44) that it should be, they then show up in the wordpress admin list under users and are editable. The message from my previous post (in the code), also disappears when I’ve manually changed the user ID.

    How can I reset the user IDs or, make it start from User ID 50, for example, instead of going on to 22245 etc?

    Thread Starter qubic

    (@qubic)

    solved, i had to change the auto_increment value with an sql query.

    Can you post how did you do this? pls? thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New registrations show blank username/email’ is closed to new replies.