Manually reset user id to higher number?
I get these error messages with my mailing list integration code?
[04-Sep-2009 10:12:57] PHP Warning: join() [function.join]: Invalid arguments passed in /serverpath/wp-content/mu-plugins/bp-custom.php on line 363
[04-Sep-2009 10:14:44] WordPress database error Duplicate entry ‘781’ for key 1 for query INSERT mailusers SET users_id=’781′, group_id=’1′, signup_date= UNIX_TIMESTAMP(), firstname= ‘Test’, lastname= ‘User’, email_address = ‘email@example.com’ made by require, require_once, do_action, call_user_func_array, bp_core_do_catch_uri, load_template, require_once, custom_do_activation, wpmu_activate_signup, do_action, call_user_func_array, synchro_wp_usermeta
The problem is that I tried to use the same ID from WPMU/BP in my mailing list, but my mailing list already has many more users on it.
Is there a way to reset the members ID from now on to a higher value? Specifically, my latest member ID is 780, how can I make the next one to be 3000?
What would happen if I sign up a test user and manually change his ID in the database to 3000? Would the next one take 3001? Or would I mess up the entire system?
Or is there a cleaner, official way to do this?
- The topic ‘Manually reset user id to higher number?’ is closed to new replies.