0

When publishing a page with EE 3.4.7 and Structure 4.0.0-b.12 we get a SQL error.

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '15' for key 'PRIMARY':
INSERT INTO exp_structure (site_id, entry_id, parent_id, channel_id, listing_cid, hidden, dead, lft, rgt) VALUES (1,15,0,2,0,'n','', 16, 17)

ee/legacy/database/drivers/mysqli/mysqli_connection.php:122 

Havent found a solution yet does anyone have any advice.

  • 1
    getting some mysqli errors myself too. what if you update structure to the newest version? it just dropped out of beta – Jelle Dijkstra Jan 26 '17 at 21:52
  • Good call Jelle. – Ben Fjare Jan 31 '17 at 1:24
2

Updating structure out of beta fixed the issue.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.