Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#4009 closed defect (bug) (fixed)

PHP notice when activity set as static front page

Reported by: DJPaul Owned by:
Priority: normal Milestone: 1.6
Component: Core Version:
Severity: normal Keywords:
Cc:

Description

[13-Feb-2012 22:13:27] PHP Warning: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The first argument should be either a string or an integer in /Users/paul/Sites/example.com/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 279

Change History (2)

#1 @DJPaul
15 years ago

Fixing this by changing bp_current_action()'s false return to an empty string. Maybe should consider changing the bp_current_component() and bp_current_item() return type, too.

#2 @djpaul
15 years ago

  • Resolutionfixed
  • Status newclosed

(In [5783]) Fix PHP notices when activity set to static front page. Fixes #4009

Note: See TracTickets for help on using tickets.