Opened 9 years ago
Closed 9 years ago
#6767 closed defect (bug) (fixed)
Cannot use object of type Closure as array in bp-core-filters.php
Reported by: | gantry | Owned by: | |
---|---|---|---|
Milestone: | 2.4.4 | Priority: | normal |
Severity: | major | Version: | 2.4.0 |
Component: | Core | Keywords: | has-patch |
Cc: |
Description
BuddyPress needs additional check to make sure that callback is array, as it can be also a Closure.
( ! ) Fatal error: Cannot use object of type Closure as array in /Users/xxx/Sites/wp/wp-content/plugins/buddypress/bp-core/bp-core-filters.php on line 1104
Attachments (1)
Change History (8)
#1
@
9 years ago
- Milestone changed from Awaiting Review to 2.4.3
- Priority changed from high to normal
- Severity changed from normal to major
#2
@
9 years ago
- Milestone changed from 2.4.3 to 2.4.4
Moving this ticket to 2.4.4 milestone. Thanks DJPaul for sharing the temporary fix.
Note: See
TracTickets for help on using
tickets.
Yes, good catch.
Will put in 2.4.3 milestone but will probably be 2.4.4 (after xmas). Anyone affected can use this temporary workaround:
remove_filter( 'dynamic_sidebar_params', '_bp_core_inject_bp_widget_css_class' );