Bug #23157 Bug Fixed

Integrity constraint violation

Version: 3.5.8 Reporter: Simon Job

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

Exception Caught
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '4725-1683' for key 'PRIMARY':
INSERT INTO `exp_category_posts` (`entry_id`, `cat_id`) VALUES ('4725', 1683)
ee/legacy/database/drivers/mysqli/mysqli_connection.php:122

I am seeing this error on editing entries after upgrading from 3.5.7 to 3.5.8. I have tried to determine if this is related to creating new entries via the CP/Channel Form and then editing via the CP/Channel Form, but I’ve been unable to isolate.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases