We recently upgraded osTicket from v1.15 to v1.17. Since the upgrade, we have started getting a lot of error emails for "DB Error #1062" - duplicate entry for key when inserting a record into ost_thread_referral. After some digging, I found that these errors occur when a ticket is entered by email (all our tickets are entered via email) and the user has copied more than one department. For example, a customer may send an email to both our Customer Service and Sales email addresses. We have set up filters to route these to the appropriate department and those filters are routing the tickets correctly with no duplicates.
We are running on Windows Server 2012 R2, with IIS v8.5 and PHP v8.1.11.
Is there anything we can do to suppress these error messages, since they aren't really errors? I am concerned that we are getting into the habit of ignoring error messages from the osTicket database.
Thanks!