[buddypress-trac] [BuddyPress Trac] #6119: Imports cause PHP Warnings in bp_blogs_format_activity_action_new_blog_post

buddypress-trac noreply at wordpress.org
Tue Jan 13 17:51:03 UTC 2015


#6119: Imports cause PHP Warnings in bp_blogs_format_activity_action_new_blog_post
--------------------------+-----------------
 Reporter:  DJPaul        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.2
Component:  Activity      |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 When running a WordPress Import, the screen after you confirm the
 usernames generates a couple of PHP Warnings:

 `
  Notice: Undefined property: stdClass::$id in /srv/www/wordpress-
 develop/src/wp-content/plugins/buddypress/src/bp-blogs/bp-blogs-
 activity.php on line 127
 Notice: Undefined property: stdClass::$id in /srv/www/wordpress-
 develop/src/wp-content/plugins/buddypress/src/bp-blogs/bp-blogs-
 activity.php on line 139
 `

 I used the WP theme unit test sample import for this. The line numbers may
 be different from trunk because I have am using a personal dev git branch.
 The backtrace shows they are coming from
 `bp_blogs_format_activity_action_new_blog_post`.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6119>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list