[wp-trac] [WordPress Trac] #56229: Attempt to read property "user_nicename" on bool in link-template.php on line 265

WordPress Trac noreply at wordpress.org
Fri Jul 15 16:28:07 UTC 2022


#56229: Attempt to read property "user_nicename" on bool in link-template.php on
line 265
--------------------------+-----------------------------
 Reporter:  psimatrix     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.0
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 PHP Warning:  Attempt to read property "user_nicename" on bool in
 /home/dcworld/public_html/wp-includes/link-template.php on line 265

 if the $authordata == false from get_userdata() then this will produce the
 error. If the current post object is not set, it will produce the error.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56229>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list