[buddypress-trac] [BuddyPress] #3440: foreach error when you delete bp_pages from db

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Aug 6 06:21:17 UTC 2011


#3440: foreach error when you delete bp_pages from db
-------------------------+-----------------------
 Reporter:  modemlooper  |       Owner:
     Type:  defect       |      Status:  reopened
 Priority:  minor        |   Milestone:  1.5
Component:  Core         |     Version:  1.5
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------
Changes (by enderandrew):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Sadly, in applying this patch I now get a new error.

 Fatal error: Cannot unset string offsets in /htdocs/wp-
 content/plugins/buddypress/bp-core/bp-core-functions.php on line 97

 Line 97 is:

 unset( $page_ids[$component_name] );

 That sure looks like an array, and not a string there. So I'm at a loss.
 But this is why I'm not a developer.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3440#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list