Title: Random Database Errors
Last modified: November 1, 2023

---

# Random Database Errors

 *  Resolved [karoocreative](https://wordpress.org/support/users/karoocreative/)
 * (@karoocreative)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/random-database-errors/)
 * I’m getting random Database Loading Errors after the update. I use **Divi** and
   lost a full day of work due to this error after it _prevented_ the pages from
   _saving_ to the database. My site would not display the changes, so I decided
   to deactivate some plugins to find the issue. I also noticed long loading times
   as well but proceeded to look for the problem, I found that Wordfence was the
   culprit. 
   After deactivating it, the changes I made were deleted along with the
   pages… I had to run a backup to retrieve them, download them, and then deactivate
   the plugin again to upload and apply them. The work I did on the pages that day
   however was lost. After reactivating the plugin and updating it to the recent
   update I noticed longer loading times like before but also followed by an occasional
   blank screen and Database Loading error. _The pages are normal block-built pages,
   with no coding just straightforward stuff so im puzzled by why this is happening._

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/random-database-errors/#post-17166889)
 * Hi [@karoocreative](https://wordpress.org/support/users/karoocreative/), sorry
   to hear you had some setbacks with modifying your site.
 * Firstly, are there any specific database error messages you’ve seen? If you have,
   they’d be really useful to assist you on a possible cause. The reason I ask this
   is because the problem _sounds_ like Divi may have been caught with false-positive
   blocks in the background when trying to update rather than a failure writing 
   to your database.
 * Could you try making similar (but much smaller) updates in the same way that 
   was previously failing but with [Learning Mode](https://www.wordfence.com/help/firewall/learning-mode/)
   enabled? From the Wordfence Dashboard click on **Manage WAF**. Then you will 
   see **Basic Firewall Options > Web Application Firewall Status**. Change the 
   option to **Learning Mode**. This should teach Wordfence your update attempts
   are normal and should be allowed through in future. After your testing, switch
   the WAF from Learning Mode back to **Enabled and Protecting**.
 * Let me know if that helps resolve the saving issue. However, if you’re still 
   experiencing the saving or site speed issues it’d be great if you could drop 
   us a diagnostic report to **wftest @ wordfence . com** so we can take a look 
   at your configuration. Use the link at the top of the **Wordfence > Tools > Diagnostics**
   page. Then click on **“Send Report by Email”**. **Please add your forum username
   where indicated and _respond here after you have sent it._**
 * **NOTE:** It should look as follows – Screenshot of [Tools > Diagnostic > Send by Email](https://www.wordfence.com/wp-content/uploads/2021/09/diagnosticsendbyemail.png)
 * Thanks,
   Peter.

Viewing 1 replies (of 1 total)

The topic ‘Random Database Errors’ 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

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

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/random-database-errors/#post-17166889)
 * Status: resolved