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.