[buddypress-trac] [BuddyPress Trac] #8005: Reset() expects parameter 1 to be and array, boolean given - buddypress/bp-core/bp-core-template.php 3038

buddypress-trac noreply at wordpress.org
Fri Nov 23 11:48:18 UTC 2018


#8005: Reset() expects parameter 1 to be and array, boolean given - buddypress/bp-
core/bp-core-template.php 3038
----------------------------+-------------------------------------
 Reporter:  Venutius        |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Contributions
Component:  Navigation      |     Version:  3.0.0
 Severity:  normal          |  Resolution:
 Keywords:  good-first-bug  |
----------------------------+-------------------------------------
Changes (by DJPaul):

 * keywords:   => good-first-bug
 * component:  Core => Navigation
 * milestone:  Awaiting Review => Awaiting Contributions


Comment:

 `get_primary` looks like it can return boolean false. We just need to
 handle that case in the code you mentioned. Good find!

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


More information about the buddypress-trac mailing list