Support » Plugin: Query Monitor » PHP Warning: Use of undefined constant DB_USER

  • Resolved vollcom

    (@vollcom)


    Hi … this is only an info for future updates

    22535#0: *10638051 FastCGI sent in stderr: “PHP message: 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/vhosts/*/httpdocs/wp-content/plugins/query-monitor/wp-content/db.php on line 139PHP message: 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/vhosts/*/httpdocs/wp-content/plugins/query-monitor/wp-content/db.php on line 139PHP message: 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/vhosts/*/httpdocs/wp-content/plugins/query-monitor/wp-content/db.php on line 139PHP message: 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/vhosts/*/httpdocs/wp-content/plugins/query-monitor/wp-content/db.php on line 139” while reading response header from upstream

    Regards

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

    (@johnbillion)

    WordPress Core Developer

    This sounds like something’s gone wrong with your site configuration. DB_USER is a standard constant that WordPress uses for its database configuration. If it’s missing then something might be broken on your site.

    Hi, thank you for your replay, my site isn’t broken. I dont know where the error comes from … I’ll keep an eye on it 😉 thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.