Opened 9 years ago
Closed 9 years ago
#6664 closed defect (bug) (fixed)
Undefined index: position in buddybar
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 2.3.3 |
Component: | Toolbar & Notifications | Keywords: | needs-testing |
Cc: | danco38@… |
Description
BP 2.3.4
When not logged in, a notice comes up about
Undefined index: position in ../bp-core-buddybar.php
on line 472 and 477
A check is missing in bp_core_sort_subnav_items
fn.
Adding
if ( isset($subnav_item['position']) && isset( $temp['position'] ) ) {
line 466 and closing it line 483 solved the issue.
Change History (5)
#2
follow-up:
↓ 3
@
9 years ago
No idea ! I deactivated any of my plugins after i saw this notice, which appeared after i was logout.
Made a few debug tests, then patched bp-core-buddybar.php and came here to relate that. SSo far i remember, his wasn't in BP 2.3.3
A similar issue here: #6085
#3
in reply to:
↑ 2
@
9 years ago
Replying to danbp:
...I deactivated any of my plugins after i saw this notice, which appeared after i was logout.
Could it be one of those plugins were to blame?
#5
@
9 years ago
- Resolution set to fixed
- Status changed from new to closed
Closing, since we deprecated the function question in BuddyPress 2.6.0
How do we recreate this? Where do we have to go and what do we have to do?