[wp-trac] [WordPress Trac] #46068: Fatal error in a mu-plugin causes WSoD protection handler to trigger a warning

WordPress Trac noreply at wordpress.org
Tue Jan 22 16:59:56 UTC 2019


#46068: Fatal error in a mu-plugin causes WSoD protection handler to trigger a
warning
----------------------------+------------------------------------
 Reporter:  johnbillion     |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  low             |  Milestone:  Awaiting Review
Component:  Bootstrap/Load  |    Version:  trunk
 Severity:  normal          |   Keywords:  needs-patch servehappy
  Focuses:                  |
----------------------------+------------------------------------
 Given a mu-plugin that triggers a fatal error immediately upon execution,
 the WSoD protection handler additionally triggers a warning of its own:

 {{{
 Warning: Invalid argument supplied for foreach() in wp-includes/error-
 protection.php on line 71
 }}}

 The `$wp_theme_directories` has not been populated at this early point,
 and therefore triggers this error.

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


More information about the wp-trac mailing list