[wp-trac] [WordPress Trac] #57152: Trying to access array offset on value of type bool (class-wp-recovery-mode-email-service.php)

WordPress Trac noreply at wordpress.org
Thu May 14 13:52:23 UTC 2026


#57152: Trying to access array offset on value of type bool (class-wp-recovery-
mode-email-service.php)
--------------------------+------------------------
 Reporter:  Mayhem30      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Site Health   |     Version:  6.1.1
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  General => Site Health
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the report!

 #62816 updated the condition to make sure `$plugin` is an array,
 preventing warnings about it being boolean (false).

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


More information about the wp-trac mailing list