[buddypress-trac] [BuddyPress Trac] #8414: Tools > "Repair site tracking site icons" generates PHP Fatal error when not on Multisite

buddypress-trac noreply at wordpress.org
Sat Dec 12 20:21:02 UTC 2020


#8414: Tools > "Repair site tracking site icons" generates PHP Fatal error when
not on Multisite
--------------------------+------------------------------
 Reporter:  slaFFik       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Blogs         |     Version:  7.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by slaFFik):

 * keywords:   => has-patch


Comment:

 I've attached a patch that implements the easiest solution to this problem
 - on non-MS site display a "Failed" message, similar to
 `bp_admin_repair_blog_records()` function.
 We could add `get_sites()` function into our `bp-core-wpabstraction.php`
 file, but I do think this would be a bad idea.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8414#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list