Opened 12 years ago
Closed 12 years ago
#5545 closed defect (bug) (fixed)
Notice appears when using BP Nav Menus
| Reported by: | alnasirkarim | Owned by: | r-a-y |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.0.1 |
| Component: | Core | Version: | 1.9 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | alnasirkarim@… |
Description
Warning: strpos() [function.strpos]: Empty needle in /home/content/92/7143392/html/reunion/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 489
Site: Reunion.tamakboys.net
Buddypress version: 1.9.2
WP version 3.8.3
Attachments (1)
Change History (10)
#3
@
12 years ago
- Keywords has-patch added; reporter-feedback removed
- Milestone Awaiting Review
- Version → 1.9
alnasirkarim - This occurs when you have deactivated a BuddyPress component, but you still have the menu item for the deactivated component listed under "Appearance > Menus":
http://buddypress.org/support/topic/error-message-warning-strpos-function-strpos-empty-needle-in/#post-176804
I've attached a patch, which fixes the notice from displaying.
It doesn't remove the deactivated component's menu item though. What we could do in an iterative patch is when deactivating a component, check the BP menus and remove the offending menu item.
Core devs: Okay for v2.0.1?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
What URL did you access to trigger this error?