Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#5227 closed defect (bug) (fixed)

Undefined index: whats-new-post-in and headers already sent bp-activity-actions.php:258

Reported by: jconti's profile j.conti Owned by: boonebgorges's profile boonebgorges
Milestone: 1.9 Priority: normal
Severity: trivial Version:
Component: Activity Keywords:
Cc:

Description

With latest BuddyPress trunk and WordPress Multisite 1.7.1 a get this Warning and Notice

[05-Nov-2013 09:04:57 UTC] PHP Notice:  Undefined index: whats-new-post-in in /home/***/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-actions.php on line 259
[05-Nov-2013 09:04:57 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-actions.php:258) in /home/bookblog/public_html/wp-includes/pluggable.php on line 899

Change History (3)

#1 @j.conti
10 years ago

Same with whats-new-post-object

[05-Nov-2013 08:49:48 UTC] PHP Notice:  Undefined index: whats-new-post-object in /home/***/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-actions.php on line 258

#2 @boonebgorges
10 years ago

  • Milestone changed from Awaiting Review to 1.9
  • Severity changed from normal to trivial

Confirmed. Thanks.

#3 @boonebgorges
10 years ago

  • Owner set to boonebgorges
  • Resolution set to fixed
  • Status changed from new to closed

In 7517:

Check for $_POST payload to avoid PHP warnings when posting updates

Fixes #5227

Note: See TracTickets for help on using tickets.