0

We've been using FPC for a while now and it seems to be doing the trick, we've just had this error start appearing with regards to the fpc log cron.

Next Zend_Db_Statement_Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5524522' for key 'PRIMARY', query was: INSERT INTO m_fpc_log

Has anyone had this issue before? Should I just truncate this table?

1 Answer 1

0

For some reason it's trying to create another entry with the same ID which must be unique.

If you delete this entry only, it should be working fine.

2
  • If I do a search in the table for 5524522 nothing is found, I have noticed that the next AI is 5524522 though... it seems strange.
    – WebDevB
    Commented Mar 15, 2018 at 15:18
  • truncate the table. I am sure it is there somewhere, but as it's a log it can be truncated.
    – Greg
    Commented Mar 15, 2018 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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