bbPress throws PHP error when Super Admin creates a new site
I’m running bbPress on a WordPress Multisite install. Whenever a user with super admin rights attempts to create a new site (through /wp-signup.php, from the primary site), bbPress throws a PHP error.
Warning: array_keys() expects parameter 1 to be array, boolean given in/home/admin/public_html/beeforums.net/wp-content/plugins/bbpress/includes/core/capabilities.phpon line 453Warning: Invalid argument supplied for foreach() in /home/admin/public_html/beeforums.net/wp-content/plugins/bbpress/includes/core/capabilities.php on line 453
The site creation completes successfully and there is no evidence that there is anything wrong. The errors are not shown when a non-superadmin creates a new site.
I’ve been able to reproduce this on two network installs, but they’re both on the same server so I’m not sure if this is caused by something specific on that server.
Can anyone reproduce?
- You must be logged in to reply to this topic.