• Seeing these in my logs, running php 7.2

    [11-Oct-2018 02:17:02 UTC] PHP Warning:  Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136
    [11-Oct-2018 02:17:02 UTC] PHP Warning:  Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136
    [11-Oct-2018 02:17:02 UTC] PHP Warning:  Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136
    [11-Oct-2018 02:17:02 UTC] PHP Warning:  Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136
    [11-Oct-2018 02:17:21 UTC] PHP Warning:  Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136
    [11-Oct-2018 02:17:21 UTC] PHP Warning:  Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136
    [11-Oct-2018 02:17:21 UTC] PHP Warning:  Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136
    [11-Oct-2018 02:17:21 UTC] PHP Warning:  Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in /srv/users/tempuser/apps/wordpress/public/wp-content/plugins/query-monitor/wp-content/db.php on line 136

    Thoughts?

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

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report.

    Is there anything unusual about your installation of WordPress?
    Do the errors occur on every page load?
    Can you try deleting the wp-content/db.php symlink, then deactivating and reactivating QM?

Viewing 1 replies (of 1 total)
  • The topic ‘Use of undefined constant’ is closed to new replies.