Title: [Plugin: Debug Bar Query Tracer] PHP warnings with WP_DEBUG enabled
Last modified: August 20, 2016

---

# [Plugin: Debug Bar Query Tracer] PHP warnings with WP_DEBUG enabled

 *  [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-debug-bar-query-tracer-php-warnings-with-wp_debug-enabled/)
 * The following is a small sample of the PHP warnings/notices appear in the debug
   bar panel, making the plugin unusable with `WP_DEBUG` enabled. It’s even worse
   with Xdebug enabled, because it prints the call stack for each one.
 *     ```
       ( ! ) Notice: Undefined index: file in /var/www/vhosts/example.com/httpdocs/wpms/wp-content/plugins/debug-bar-query-tracer/Tracer.php on line 94
       ( ! ) Warning: Missing argument 1 for Galahad_Query_Tracer_Panel::_renderData(), called in /var/www/vhosts/example.com/httpdocs/wpms/wp-content/plugins/debug-bar-query-tracer/Panel.php on line 44 and defined in /var/www/vhosts/example.com/httpdocs/wpms/wp-content/plugins/debug-bar-query-tracer/Panel.php on line 60
       ( ! ) Notice: Undefined variable: data in /var/www/vhosts/example.com/httpdocs/wpms/wp-content/plugins/debug-bar-query-tracer/Panel.php on line 62
       ( ! ) Warning: Invalid argument supplied for foreach() in /var/www/vhosts/example.com/httpdocs/wpms/wp-content/plugins/debug-bar-query-tracer/Panel.php on line 62
       ```
   
 * [http://wordpress.org/extend/plugins/debug-bar-query-tracer/](http://wordpress.org/extend/plugins/debug-bar-query-tracer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [farreach.es](https://wordpress.org/support/users/wp-pluginfarreaches/)
 * (@wp-pluginfarreaches)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-debug-bar-query-tracer-php-warnings-with-wp_debug-enabled/#post-3042784)
 * No information is displayed.
 *  [farreach.es](https://wordpress.org/support/users/wp-pluginfarreaches/)
 * (@wp-pluginfarreaches)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-debug-bar-query-tracer-php-warnings-with-wp_debug-enabled/#post-3042785)
 * I created a fixed version at : [https://github.com/patmoore/debug-bar-query-tracer](https://github.com/patmoore/debug-bar-query-tracer)
 * (until the plugin dev releases a new fixed version )

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: Debug Bar Query Tracer] PHP warnings with WP_DEBUG enabled’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/debug-bar-query-tracer.svg)
 * [Debug Bar Query Tracer](https://wordpress.org/plugins/debug-bar-query-tracer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/debug-bar-query-tracer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/debug-bar-query-tracer/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-bar-query-tracer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-bar-query-tracer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-bar-query-tracer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [farreach.es](https://wordpress.org/support/users/wp-pluginfarreaches/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-debug-bar-query-tracer-php-warnings-with-wp_debug-enabled/#post-3042785)
 * Status: not resolved