[wp-trac] [WordPress Trac] #35560: Use of undefined constant DB_USER - assumed 'DB_USER'

WordPress Trac noreply at wordpress.org
Fri Jan 22 14:41:38 UTC 2016


#35560: Use of undefined constant DB_USER - assumed 'DB_USER'
-------------------------------+------------------------------
 Reporter:  mariusvw           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Database           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by rmccue):

 Replying to [comment:1 johnbillion]:
 > This bug is indeed valid, but if you do not have a `wp-config.php` file
 then WordPress' default `error_reporting()` state means
 [https://core.trac.wordpress.org/browser/tags/4.4.1/src/wp-
 includes/load.php?marks=300#L286 PHP notices are not reported].

 If you have a custom error handler set (say, one that throws exceptions),
 it ignores the error reporting level. I suspect that's what's happening
 here.

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


More information about the wp-trac mailing list