[wp-trac] [WordPress Trac] #49934: PHP Notice: Trying to get property 'name' of non-object in wp-admin/includes/class-wp-site-health.php on line 636 (was: PHP Notice: Trying to get property 'name' of non-object in wp-admin/includes/class-wp-site-health.php on line 636)

WordPress Trac noreply at wordpress.org
Sat Apr 18 05:55:48 UTC 2020


#49934: PHP Notice: Trying to get property 'name' of non-object in wp-
admin/includes/class-wp-site-health.php on line 636
---------------------------+------------------------------
 Reporter:  juanlopez4691  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Site Health    |     Version:  5.2
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------
Changes (by mukesh27):

 * keywords:  needs-patch => has-patch


Comment:

 Hi there!

 Replicated the same issue when anyone removes the parent theme from the
 theme directory.

 @juanlopez4691 get_test_theme_version() function introduce in version 5.2
 that's why @davidbaumwald updated the version.

 Added initial patch.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49934#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list