Title: PHP Error Log &#8211; Multisite error
Last modified: March 7, 2019

---

# PHP Error Log – Multisite error

 *  [richardparry](https://wordpress.org/support/users/richardparry/)
 * (@richardparry)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-log-multisite-error/)
 * Multiple errors:
 * [07-Mar-2019 02:50:24 UTC] PHP Warning: Invalid argument supplied for foreach()
   in /dom27031/wp-content/plugins/bp-power-seo/lib/site.php on line 181
 * [07-Mar-2019 10:14:33 UTC] PHP Notice: Undefined variable: groups_ar in /dom27031/
   wp-content/plugins/bp-power-seo/lib/admin.php on line 450
 * [07-Mar-2019 10:14:33 UTC] PHP Notice: Undefined variable: searches_ar in /dom27031/
   wp-content/plugins/bp-power-seo/lib/admin.php on line 450
 * [07-Mar-2019 10:14:33 UTC] PHP Notice: Undefined variable: groups_ar in /dom27031/
   wp-content/plugins/bp-power-seo/lib/admin.php on line 450
 * There is also a usermeta database error:
 * The usermeta is not per subsite its actually just one for the whole multisite.
   It appears to be coming from line 142 of ./wp-content/plugins/bp-power-seo/lib/
   site.php
 * They are using $wp->prefix instead of $wp->base_prefix on shared multisite tables.
   Likely because they don’t account for multi-site.
 * $prefix
    The assigned WordPress table prefix for the site.
 * $base_prefix
    The original prefix as defined in wp-config.php. For multi-site:
   Use if you want to get the prefix without the blog number appended.

The topic ‘PHP Error Log – Multisite error’ is closed to new replies.

 * ![](https://ps.w.org/bp-power-seo/assets/icon-128x128.jpg?rev=1875768)
 * [BuddyPress Power SEO](https://wordpress.org/plugins/bp-power-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-power-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-power-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-power-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-power-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-power-seo/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [richardparry](https://wordpress.org/support/users/richardparry/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/php-error-log-multisite-error/)
 * Status: not resolved