Title: bbPress Multisite
Last modified: September 1, 2016

---

# bbPress Multisite

 *  [THWright](https://wordpress.org/support/users/thw56/)
 * (@thw56)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/)
 * I am making use of WordPress Multisite and bbPress. When I install this plugin,
   it errors on me as it is looking for the site specific usermeta table but is 
   unable to find it. Is there the possibility of receiving multisite support for
   this plugin?
 * [https://wordpress.org/plugins/bbpress-improved-statistics-users-online/](https://wordpress.org/plugins/bbpress-improved-statistics-users-online/)
 * I wasn’t seeing this issue before the update to 1.4, though the plugin did seem
   to not update its information all the time.

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

 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/#post-7677164)
 * Hi,
 * It doesn’t currently support multisite, I have no test environment for this. 
   This is the first time this has popped up.
 * Can you provide me an exhaustive list of issues and I will work on them for a
   future patch.
 * – jake
 *  Thread Starter [THWright](https://wordpress.org/support/users/thw56/)
 * (@thw56)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/#post-7677199)
 * Hello Jake!
 * The error I am seeing is as follows. Once I activate the plugin, the backend 
   and website return the following error.
 * There was a problem whilst updating the database. (Table ‘database.wp_8_usermeta’
   doesn’t exist)
 * A WP multisite shares a users database, so that any user created on one of the
   sites is available on the others, thus in my database, I have a wp_usermeta whereas
   the error is referencing the site specific prefix (the _8).
 * This is the current issue I see which presents any use of the site while activated.
   I was going to take a look at the code but haven’t had a chance and won’t for
   some time. I’m unsure if other tables are being referenced besides this one.
 * I’m not seeing anything in a PHP error log. Apache error log shows following.
 * **Frontend**
 * > [Thu Aug 18 08:37:17.947793 2016] [:error] [pid 24782:tid 140346403006208] [
   > client ip.ad.dr.ess:39258] WordPress database error Duplicate key name ‘date_recorded’
   > for query ALTER TABLE wp_8_bbpas ADD INDEX date_recorded (date_recorded) made
   > by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘
   > wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/bbpress-
   > improved-statistics-users-online/bbpress-improved-statistics-users-online.php’),
   > bbPress_Advanced_Statistics, bbPress_Advanced_Statistics::instance, bbPress_Advanced_Statistics-
   > >__construct, bbPress_Advanced_Statistics->install, bbPress_Advanced_Statistics-
   > >create_table, bbPress_Advanced_Statistics_Upgrade->__construct, bbPress_Advanced_Statistics_Upgrade-
   > >check_for_db_upgrade, bbPress_Advanced_Statistics_Upgrade->upgrade_the_db,
   > dbDelta
   >  [Thu Aug 18 08:37:17.948128 2016] [:error] [pid 24782:tid 140346403006208][
   > client ip.ad.dr.ess:39258] WordPress database error Duplicate key name ‘status’
   > for query ALTER TABLE wp_8_bbpas ADD INDEX status (status) made by require(‘
   > wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.
   > php’), require_once(‘wp-settings.php’), include_once(‘/plugins/bbpress-improved-
   > statistics-users-online/bbpress-improved-statistics-users-online.php’), bbPress_Advanced_Statistics,
   > bbPress_Advanced_Statistics::instance, bbPress_Advanced_Statistics->__construct,
   > bbPress_Advanced_Statistics->install, bbPress_Advanced_Statistics->create_table,
   > bbPress_Advanced_Statistics_Upgrade->__construct, bbPress_Advanced_Statistics_Upgrade-
   > >check_for_db_upgrade, bbPress_Advanced_Statistics_Upgrade->upgrade_the_db,
   > dbDelta [Thu Aug 18 08:37:17.948432 2016] [:error] [pid 24782:tid 140346403006208][
   > client ip.ad.dr.ess:39258] WordPress database error Table ‘database.wp_8_usermeta’
   > doesn’t exist for query DELETE FROM wp_8_usermeta WHERE `meta_key` LIKE ‘%bbpress-
   > advanced-statistics%’ made by require(‘wp-blog-header.php’), require_once(‘
   > wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’),
   > include_once(‘/plugins/bbpress-improved-statistics-users-online/bbpress-improved-
   > statistics-users-online.php’), bbPress_Advanced_Statistics, bbPress_Advanced_Statistics::
   > instance, bbPress_Advanced_Statistics->__construct, bbPress_Advanced_Statistics-
   > >install, bbPress_Advanced_Statistics->create_table, bbPress_Advanced_Statistics_Upgrade-
   > >__construct, bbPress_Advanced_Statistics_Upgrade->check_for_db_upgrade, bbPress_Advanced_Statistics_Upgrade-
   > >db_migration_1_1
 * **From Backend**
 * > [Thu Aug 18 08:37:33.499534 2016] [:error] [pid 17612:tid 140346344257280] [
   > client ip.ad.dr.ess:39950] WordPress database error Duplicate key name ‘date_recorded’
   > for query ALTER TABLE wp_8_bbpas ADD INDEX date_recorded (date_recorded) made
   > by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘
   > wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/bbpress-
   > improved-statistics-users-online/bbpress-improved-statistics-users-online.php’),
   > bbPress_Advanced_Statistics, bbPress_Advanced_Statistics::instance, bbPress_Advanced_Statistics-
   > >__construct, bbPress_Advanced_Statistics->install, bbPress_Advanced_Statistics-
   > >create_table, bbPress_Advanced_Statistics_Upgrade->__construct, bbPress_Advanced_Statistics_Upgrade-
   > >check_for_db_upgrade, bbPress_Advanced_Statistics_Upgrade->upgrade_the_db,
   > dbDelta
   >  [Thu Aug 18 08:37:33.499678 2016] [:error] [pid 17612:tid 140346344257280][
   > client ip.ad.dr.ess:39950] WordPress database error Duplicate key name ‘status’
   > for query ALTER TABLE wp_8_bbpas ADD INDEX status (status) made by require_once(‘
   > wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.
   > php’), require_once(‘wp-settings.php’), include_once(‘/plugins/bbpress-improved-
   > statistics-users-online/bbpress-improved-statistics-users-online.php’), bbPress_Advanced_Statistics,
   > bbPress_Advanced_Statistics::instance, bbPress_Advanced_Statistics->__construct,
   > bbPress_Advanced_Statistics->install, bbPress_Advanced_Statistics->create_table,
   > bbPress_Advanced_Statistics_Upgrade->__construct, bbPress_Advanced_Statistics_Upgrade-
   > >check_for_db_upgrade, bbPress_Advanced_Statistics_Upgrade->upgrade_the_db,
   > dbDelta [Thu Aug 18 08:37:33.499789 2016] [:error] [pid 17612:tid 140346344257280][
   > client ip.ad.dr.ess:39950] WordPress database error Table ‘database.wp_8_usermeta’
   > doesn’t exist for query DELETE FROM wp_8_usermeta WHERE `meta_key` LIKE ‘%bbpress-
   > advanced-statistics%’ made by require_once(‘wp-admin/admin.php’), require_once(‘
   > wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’),
   > include_once(‘/plugins/bbpress-improved-statistics-users-online/bbpress-improved-
   > statistics-users-online.php’), bbPress_Advanced_Statistics, bbPress_Advanced_Statistics::
   > instance, bbPress_Advanced_Statistics->__construct, bbPress_Advanced_Statistics-
   > >install, bbPress_Advanced_Statistics->create_table, bbPress_Advanced_Statistics_Upgrade-
   > >__construct, bbPress_Advanced_Statistics_Upgrade->check_for_db_upgrade, bbPress_Advanced_Statistics_Upgrade-
   > >db_migration_1_1
 * Based on these, it almost seems like the last version of the plugin didn’t delete
   its database entries.
 * If you need software versions, feel free to let me know.
 * Let me know if I can provide anything else!
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/#post-7677213)
 * Hello thw,
 * I haven’t ever really played with multi-site, can you give me some more background
   on your specific set-up with a way I can get a replication server running? I’d
   need to know what plugins you have installed, how the multi-site has been set
   up and then I could hopefully assist a little more.
 * is your setup common for other multisites?
 * -Jake
 *  Thread Starter [THWright](https://wordpress.org/support/users/thw56/)
 * (@thw56)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/#post-7677221)
 * Hello Jake,
 * I am not certain if my setup is common, but I haven’t done much customization
   besides the plugins installed. The theme is evolve.
 * My multisite is using a subdomain setup. I only have one instance of bbPress 
   running, which is on forums.domain.com.
 * I am using CentOS 7, PHP 7 (believe handler is FCGI but uncertain) with Zend 
   OpCache, Apache 2.4 w/ Event MPM, and MariaDB 10.x. I am more of a server admin
   than a developer, so my coding experience is limited and very copy/pasta friendly.
 * I have the following plugins installed; I have not seen any other conflicts as
   of yet.
 * >  +——————————————+———-+
   >  | name | version | +——————————————+———-+ | admin-bar-
   > dashboard-control | 1.0.1 | | advanced-nocaptcha-recaptcha | 2.3 | | akismet
   > | 3.1.11 | | bbp-private-groups | 3.2.4 | | bbpress | 2.5.10 | | bbpress-admin-
   > bar-addition | 1.7.1 | | bbpress-improved-statistics-users-online | 1.4.02 
   > | | bbpress-do-short-codes | 1.0.3 | | bbpress-protected-forums | 1.0 | | bbpress-
   > unread-posts-v2 | 1.0.8 | | buddypress | 2.6.2 | | easy-wp-smtp | 1.2.3 | |
   > gd-bbpress-attachments | 2.3.1 | | gd-bbpress-tools | 1.8 | | login-with-ajax
   > | 3.1.6 | | redux-framework | 3.6.1 | | shortcodes-ultimate | 4.9.9 | | tinymce-
   > advanced | 4.3.10.1 | | kt-tinymce-color-grid | 1.6 | | wp-better-emails | 
   > 0.3 | +——————————————+———-+
 * -Taylor
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/#post-7677341)
 * Hi Taylor,
 * Thank you very much! I managed to get a Multi-site installation running – I now
   need to work out how the plugin installation/deactivation works before tackling
   the issue of SQL.
 * – Jake
 *  Plugin Author [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * (@geekserve)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/#post-8589688)
 * Hi Taylor,
 * Apologies for being so late on this… unfortunately life got in the way.
 * I **believe** I have now resolved much of the issues you were facing. Would you
   mind downloading this and taking a look? I won’t put it live until I get some
   feedback
 * [https://downloads.wordpress.org/plugin/bbpress-improved-statistics-users-online.zip](https://downloads.wordpress.org/plugin/bbpress-improved-statistics-users-online.zip)
 * Thanks,

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

The topic ‘bbPress Multisite’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bbpress-improved-statistics-users-
   online_f8f8f8.svg)
 * [bbPress Advanced Statistics](https://wordpress.org/plugins/bbpress-improved-statistics-users-online/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bbpress-improved-statistics-users-online/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bbpress-improved-statistics-users-online/)
 * [Active Topics](https://wordpress.org/support/plugin/bbpress-improved-statistics-users-online/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bbpress-improved-statistics-users-online/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bbpress-improved-statistics-users-online/reviews/)

## Tags

 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [Stats](https://wordpress.org/support/topic-tag/stats/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jake Hall](https://wordpress.org/support/users/geekserve/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/bbpress-multisite-1/#post-8589688)
 * Status: not resolved