Title: Database error
Last modified: January 21, 2023

---

# Database error

 *  Resolved [SpeakOut! Steve](https://wordpress.org/support/users/123host/)
 * (@123host)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/database-error-379/)
 * > [View post on imgur.com](https://imgur.com/a/DZMiFlw)

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/database-error-379/#post-16400190)
 * Hi [@123host](https://wordpress.org/support/users/123host/), thanks for your 
   message.
 * Errors such as this are often picked up in Query Monitor or similar tools for
   our intended silent failures. We sometimes utilize WordPress’ `$wpdb->suppress_errors(
   true);` function in situations we know an error may occur. This might sound counter-
   intuitive but there’s no fixed amount of resources we know Wordfence will use
   on each customers’ server. Therefore, some non-critical situations where it’s
   more expensive on resources to retry or check for the presence of a file/record,
   we simply choose to fail silently and continue.
 * It looks like your case involved 2 almost simultaneous hits on the database trying
   to do the same thing. The first succeeded, so the second hit a duplicate entry
   error. Query Manager often ignores this intentional error suppression inbuilt
   into WordPress and presents them as issues.
 * Thanks,
   Peter.

Viewing 1 replies (of 1 total)

The topic ‘Database error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/database-error-379/#post-16400190)
 * Status: resolved