[wp-trac] [WordPress Trac] #15498: Notice: Trying to get property of non-object in wp-admin/edit-form-advanced.php on line 281

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 17:40:39 UTC 2010


#15498: Notice: Trying to get property of non-object in wp-admin/edit-form-
advanced.php on line 281
--------------------------+-------------------------------------------------
 Reporter:  wpdavis       |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Import        |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 The problem seems to arise from the fact that when users are imported
 their old IDs aren't mapped to their new IDs, so then $last_user =
 get_userdata($last_id) is trying to look up a user that doesn't exist.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15498>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list