Support » Plugin: Query Monitor » PHP Warning

  • Hi There!

    We get in our errorlogs the warnings:

    [03-Oct-2020 22:54:12 UTC] PHP Warning: Use of undefined constant DB_USER – assumed ‘DB_USER’ (this will throw an Error in a future version of PHP) in /kunden/xx_xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/wp-content/db.php on line 139
    [03-Oct-2020 22:54:12 UTC] PHP Warning: Use of undefined constant DB_PASSWORD – assumed ‘DB_PASSWORD’ (this will throw an Error in a future version of PHP) in /kunden/xx_xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/wp-content/db.php on line 139
    [03-Oct-2020 22:54:12 UTC] PHP Warning: Use of undefined constant DB_NAME – assumed ‘DB_NAME’ (this will throw an Error in a future version of PHP) in /kunden/xx_xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/wp-content/db.php on line 139
    [03-Oct-2020 22:54:12 UTC] PHP Warning: Use of undefined constant DB_HOST – assumed ‘DB_HOST’ (this will throw an Error in a future version of PHP) in /kunden/xx_xxx/webseiten/hello-world.net/wordpress/wp-content/plugins/query-monitor/wp-content/db.php on line 139

    Maybe you can fix that in a upcoming version of QM

    best regards
    Nick

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report. Does this happen with all your other plugins deactivated? Do these constants exist in your wp-config.php file?

    Thread Starter Nico Marcuz

    (@nick7766)

    John, I can send you the complete dump of the errorlog via a “private channel” if you like?! Maybe you can see a lot more than myself…

    Mirri360

    (@mirri360)

    I get these same errors.
    [Sun Oct 04 08:57:56.424030 2020] [php7:warn] [pid 23049] [client 51.254.85.82:45052] PHP Warning: Use of undefined constant DB_USER – assumed ‘DB_USER’ (this will throw an Error in a future version of PHP) in /var/www/html/daleadamsonsite/wp-content/plugins/query-monitor/wp-content/db.php on line 139
    [Sun Oct 04 08:57:56.424084 2020] [php7:warn] [pid 23049] [client 51.254.85.82:45052] PHP Warning: Use of undefined constant DB_PASSWORD – assumed ‘DB_PASSWORD’ (this will throw an Error in a future version of PHP) in /var/www/html/daleadamsonsite/wp-content/plugins/query-monitor/wp-content/db.php on line 139
    [Sun Oct 04 08:57:56.424092 2020] [php7:warn] [pid 23049] [client 51.254.85.82:45052] PHP Warning: Use of undefined constant DB_NAME – assumed ‘DB_NAME’ (this will throw an Error in a future version of PHP) in /var/www/html/daleadamsonsite/wp-content/plugins/query-monitor/wp-content/db.php on line 139
    [Sun Oct 04 08:57:56.424098 2020] [php7:warn] [pid 23049] [client 51.254.85.82:45052] PHP Warning: Use of undefined constant DB_HOST – assumed ‘DB_HOST’ (this will throw an Error in a future version of PHP) in /var/www/html/daleadamsonsite/wp-content/plugins/query-monitor/wp-content/db.php on line 139

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning’ is closed to new replies.