Title: Database error in logs
Last modified: July 9, 2017

---

# Database error in logs

 *  Resolved [Amibe Websites](https://wordpress.org/support/users/amibe/)
 * (@amibe)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/database-error-in-logs/)
 * Hi, I’m getting a database error. The table WordFence is trying to write to doesn’t
   existing because the _99 is the ID of the base site for a **2nd network** in 
   a multisite, multinetwork install.
 * Should I deactive WordFence for all networks other than the primary one?
 * Error details as follows:
 * `WordPress database error Table 'db.wp_99_wfNotifications' doesn't exist for 
   query UPDATE wp_99_wfNotifications SET [...rest of query...] made by do_action_ref_array,
   WP_Hook->do_action, WP_Hook->apply_filters, wordfence::dailyCron, wordfence::
   _refreshUpdateNotification, wfNotification->__construct, W3TC\DbCache_Wpdb->query,
   W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\_CallUnderlying->query, 
   W3TC\DbCache_Wpdb->query, W3TC\DbCache_WpdbInjection->query, W3TC\DbCache_Wpdb-
   >default_query`

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/database-error-in-logs/#post-9311501)
 * Hi amibe,
    Wordfence should be installed only on the Network Admin, not on every
   individual site on the network, please check this guide regarding “[Setting up Wordfence on WordPress Network](https://docs.wordfence.com/en/Set_up_Wordfence_on_Multisite)“.
 * Thanks.
 *  Thread Starter [Amibe Websites](https://wordpress.org/support/users/amibe/)
 * (@amibe)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/database-error-in-logs/#post-9311720)
 * Hi, thank you for your response Yes, I understand what you say.
 * However, I’m not referring to multi**network**, not multi**site** as one network.
   Each network (of sites) has its own Network Admin.
 * So while the WAF will operate across all sites and networks, the WordFence Plugin
   will not load for a network where it is not enabled.
 * I have now disabled it for the 2nd network but am concerned that (WAF aside) 
   WordFence is no longer operating for the 2nd network. My assumption is that this
   is an issue which may need to be looked into and I’m happy to assist in any way
   that I can.
 * Kind regards.
 *  [wfalaa](https://wordpress.org/support/users/wfalaa/)
 * (@wfalaa)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/database-error-in-logs/#post-9316627)
 * Hi Amibe,
    Sorry, I missed that you mentioned it’s a “multinetwork install”, 
   I thought it’s a regular WordPress Network installation, I’m afraid Wordfence
   is not supported on multinetworks at the moment, please check the plugin’s [system requirements](https://docs.wordfence.com/en/Wordfence_system_requirements)
   page to get a better idea about all the requirements. I think activating Wordfence
   on the primary network you have is the only thing you can do for now.
 * Thanks.
 *  [wfchloe](https://wordpress.org/support/users/wfchloe/)
 * (@wfchloe)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/database-error-in-logs/#post-9393381)
 * Hello!
 * I hope we were successful in helping you resolve your issue with Wordfence! Since
   we have not heard back from you in the past 2 weeks I will now be marking this
   support thread as resolved. However, if we still haven’t resolved your issue 
   please reach out to us as we would be more than happy to further assist you!
 * Thanks and have a great day!
    Chloe
 *  Thread Starter [Amibe Websites](https://wordpress.org/support/users/amibe/)
 * (@amibe)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/database-error-in-logs/#post-9393498)
 * Hardly resolved.
 * Happy to contribute code to fix…

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database error in logs’ 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

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

 * 5 replies
 * 3 participants
 * Last reply from: [Amibe Websites](https://wordpress.org/support/users/amibe/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/database-error-in-logs/#post-9393498)
 * Status: resolved