Title: Array to string conversion class-debug-bar-wp-query.php on line 98
Last modified: August 21, 2016

---

# Array to string conversion class-debug-bar-wp-query.php on line 98

 *  [ixrevo](https://wordpress.org/support/users/ixrevo/)
 * (@ixrevo)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/array-to-string-conversion-class-debug-bar-wp-queryphp-on-line-98/)
 * Throws php notice in case of using custom post type when class-debug-bar-wp-query.
   php is trying to echo taxonomies array:
 * `PHP Notice: Array to string conversion in /Users/ixrevo/Sites/jetsmarter.com/
   wp-content/plugins/debug-bar/panels/class-debug-bar-wp-query.php on line 98`
 * I’ve fixed this locally in this way:
 * `echo '<li>' . $key . ' => ' . var_export( $value, true ) . '</li>';`
 * [https://wordpress.org/plugins/debug-bar/](https://wordpress.org/plugins/debug-bar/)

The topic ‘Array to string conversion class-debug-bar-wp-query.php on line 98’ is
closed to new replies.

 * ![](https://ps.w.org/debug-bar/assets/icon.svg?rev=3050748)
 * [Debug Bar](https://wordpress.org/plugins/debug-bar/)
 * [Support Threads](https://wordpress.org/support/plugin/debug-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-bar/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ixrevo](https://wordpress.org/support/users/ixrevo/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/array-to-string-conversion-class-debug-bar-wp-queryphp-on-line-98/)
 * Status: not resolved