Opened 11 years ago
Closed 11 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: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.4.4 |
| Component: | Core | Version: | 2.4.0 |
| Severity: | major | 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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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' );