[buddypress-trac] [BuddyPress Trac] #5685: Ton of notices in activity stream for type user_registered

buddypress-trac noreply at wordpress.org
Wed Jun 4 21:48:19 UTC 2014

#5685: Ton of notices in activity stream for type user_registered
 Reporter:  slaFFik           |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Warnings/Notices  |    Version:
 Severity:  normal            |   Keywords:
 I experimented with users registrations. While doing this I was not
 deleting user properly - using wp-admin area, but just deleting rows in
 wp_users and wp_usermeta. Each time the user was registered a new activity
 was recorded. I didn't clean them up.

 After this on activity stream I see a lot of notices - activity item
 itself referencing a user by user_id that doesn't exist in the system and
 without checks tries to use user's data.


 Notice: Undefined property: stdClass::$user_nicename in \wp-
 content\plugins\buddypress\bp-activity\bp-activity-template.php on line

 Notice: Undefined Property: Stdclass::$user_login in \wp-
 content\plugins\buddypress\bp-activity\bp-activity-template.php On Line


 I guess these properties should be checked before their use in the code.

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

More information about the buddypress-trac mailing list