Problem creating a new user
-
Hello
I can’t create a new user – at least not one that works. At the moment I get:
———————————————-
WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘0’, ‘first_name’, ‘tester’ )WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘0’, ‘nickname’, ‘test’ )WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘0’, ‘rich_editing’, ‘true’ )WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘0’, ”, ‘a:1:{s:10:\”subscriber\”;b:1;}’ )WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘0’, ”, ‘a:1:{s:6:\”editor\”;b:1;}’ )WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_usermeta ( user_id, meta_key, meta_value ) VALUES ( ‘0’, ‘wp_user_level’, ‘7’ )Warning: Cannot modify header information – headers already sent by (output started at /home/a/n/aneesachaudhry_com/wp-includes/wp-db.php:121) in /home/a/n/aneesachaudhry_com/wp-includes/pluggable.php on line 275
————————————————-
There is a user created, but it doesn’t have all the info present when it’s listed. I tried changing the key that MySQL says is the problem, and this allows editing of the user, but when I try and log in as that user it says: “You do not have sufficient permissions to access this page”.
I imagine the login failure might be because the user creation didn’t happen properly and the info in wp_postmeta wasn’t generated?
Any ideas appreciated – thanks!
Warren
- The topic ‘Problem creating a new user’ is closed to new replies.