Duplicate key name ‘index_site_object_id’

Seeing the following in my error logs:

WordPress database error Duplicate key name ‘index_site_object_id’ for query ALTER TABLE wp_mainwp_wp_logs ADD INDEX index_site_object_id (site_id, object_id)

Hey @smartstartllc

I’ll check with the dev team for more information and get back to you as soon as I can.

The team believes these error messages may be a one-time occurrence possibly due to user-made tweaks in the Database.

Do you see any recent occurrences of this error?
If so, do they occur frequently and/or periodically?

Yes I see it on my local environment constantly.
Frequently and periodically.

Thanks for the update.

Would you mind opening a private Help Desk ticket so we can take a closer look?

Please refer to this Community thread by its URL in the ticket.

I have opened a Help Desk ticket.

1 Like