If you’re working with Drupal forms and are getting duplicate entry errors when you log in, try this to fix the problem:
- Access your database. Check the affected table. In this case, the error tells us that it is the node table (query: INSERT INTO node). This also happens with other tables, modify these instructions accordingly.
- This is the node table, so the problem is the node id (nid). Each node has a unique id. Look at your table, and find the highest node id (nid). If you have many nodes, it may help to sort your table by nid to find the highest one.
- Go to your sequences table. Change the node id in the sequences table to a number higher than the id you found in step 2.
These steps were taken directly from the Drupal website, and ended up fixing a problem I had with new users registering.
It‘s quite in here! Why not leave a response?