[wp-trac] [WordPress Trac] #43188: "Use of undefined constant" in /wp-includes/load.php under PHP 7.2

WordPress Trac noreply at wordpress.org
Wed Jan 31 13:17:21 UTC 2018


#43188: "Use of undefined constant" in /wp-includes/load.php under PHP 7.2
--------------------------+-----------------------------
 Reporter:  bugnumber9    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.9.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 As the title says:

 {{{
 PHP Warning:  Use of undefined constant DB_NAME - assumed 'DB_NAME' (this
 will throw an Error in a future version of PHP) in .../wp-
 includes/load.php on line 404
 PHP Warning:  Use of undefined constant DB_HOST - assumed 'DB_HOST' (this
 will throw an Error in a future version of PHP) in .../wp-
 includes/load.php on line 404
 PHP Warning:  Use of undefined constant DB_USER - assumed 'DB_USER' (this
 will throw an Error in a future version of PHP) in .../wp-
 includes/load.php on line 404
 PHP Warning:  Use of undefined constant DB_PASSWORD - assumed
 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in
 .../wp-includes/load.php on line 404
 }}}

 This pops up in PHP error log from time to time.

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


More information about the wp-trac mailing list