Frank Vèssia Posted April 13, 2011 Share Posted April 13, 2011 i'm getting an error while creating new user via code. guest:/join/new/:ProcessWire Error:Exception: Duplicate entry 'needmore' for key 2 (in /public_html/wire/core/Database.php line 72) It's strange because i call the new user function just one time, user is created correctly but i get this error continuos, 2 times every minute in my email... Link to comment Share on other sites More sharing options...
Frank Vèssia Posted April 13, 2011 Author Share Posted April 13, 2011 i solved...the new user function is called remotely buy another ip and this system had a bug, it called the function too many times Link to comment Share on other sites More sharing options...
ryan Posted April 13, 2011 Share Posted April 13, 2011 So a user named 'needmore' was throwing duplicate entry exceptions? ;D Link to comment Share on other sites More sharing options...
Frank Vèssia Posted April 13, 2011 Author Share Posted April 13, 2011 yes lol ;D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now