[wp-trac] [WordPress Trac] #45958: Errors displayed on shutdown handler

WordPress Trac noreply at wordpress.org
Tue Jan 27 22:37:15 UTC 2026


#45958: Errors displayed on shutdown handler
-------------------------------------------------+-------------------------
 Reporter:  spacedmonkey                         |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bootstrap/Load                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch reporter-  |     Focuses:  multisite
  feedback needs-test-info close                 |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-screenshots has-patch needs-testing => has-screenshots
     has-patch reporter-feedback needs-test-info close
 * priority:  high => normal


Comment:

 I'm confused about this error

 According to `load.php` you need either `WP_DEBUG` to true and
 `WP_DISPLAY_ERRORS` to false or you need to set your server config to
 `display_errors` manually to 0 (or add the display_errors in your `wp-
 config.php` or whatever executable). There is no middle ground. If you
 don't have this managed server level, and you don't add the right
 variables, errors going to be displayed anywhere, not just in those pages
 you have provided

 Maybe I'm missing some context because this ticket is 7 years old, so we
 need more detailed testing instructions.

 cc @spacedmonkey

 PS: Why `multisite` focus has been also added?

 This ticket is confusing, maybe because it has not aged well, worth
 considering closing by now.

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


More information about the wp-trac mailing list