Title: [Plugin: WP-dTree] WordPress database error: [Unknown column &#039;hash&#039; in &#039;where clause&amp;
Last modified: August 19, 2016

---

# [Plugin: WP-dTree] WordPress database error: [Unknown column 'hash' in 'where clause&

 *  [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * (@serbocracy)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-wordpress-database-error-unknown-column-hash-in-where-clause/)
 * I get these messages when I activated the widget in the sidebar. Any ideas? This
   happened after upgrading to 4.0.
 * WordPress database error: [Unknown column ‘hash’ in ‘where clause’]
    SELECT content
   FROM wp_dtree_cache WHERE hash = UNHEX(MD5(‘a:32:{s:5:\”title\”;s:6:\”Strane\”;
   s:5:\”cache\”;i:1;s:6:\”opento\”;s:0:\”\”;s:7:\”oclinks\”;i:1;s:8:\”uselines\”;
   i:1;s:8:\”useicons\”;i:0;s:7:\”exclude\”;s:0:\”\”;s:11:\”closelevels\”;i:1;s:
   11:\”folderlinks\”;i:1;s:13:\”showselection\”;i:1;s:7:\”include\”;s:0:\”\”;s:
   15:\”opentoselection\”;i:1;s:8:\”truncate\”;i:23;s:10:\”sort_order\”;s:3:\”ASC\”;
   s:6:\”sortby\”;s:4:\”name\”;s:8:\”treetype\”;s:3:\”cat\”;s:8:\”cpsortby\”;s:9:\”
   post_date\”;s:11:\”cpsortorder\”;s:4:\”DESC\”;s:10:\”hide_empty\”;i:1;s:8:\”child_of\”;
   i:0;s:6:\”parent\”;s:4:\”none\”;s:10:\”allowdupes\”;i:1;s:11:\”postexclude\”;
   s:0:\”\”;s:9:\”listposts\”;i:1;s:7:\”showrss\”;i:0;s:9:\”showcount\”;i:0;s:8:\”
   taxonomy\”;s:8:\”category\”;s:10:\”pad_counts\”;i:1;s:12:\”hierarchical\”;i:0;
   s:6:\”number\”;i:0;s:24:\”include_last_update_time\”;i:0;s:8:\”title_li\”;s:0:\”\”;}’))
   LIMIT 1
 * WordPress database error: [Unknown column ‘hash’ in ‘field list’] etc…….

The topic ‘[Plugin: WP-dTree] WordPress database error: [Unknown column 'hash' in'
where clause&’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-dtree-30_fcfcf8.svg)
 * [WP-dTree](https://wordpress.org/plugins/wp-dtree-30/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-dtree-30/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-dtree-30/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-dtree-30/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-dtree-30/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-dtree-30/reviews/)

## Tags

 * [WP-dTree 4.0](https://wordpress.org/support/topic-tag/wp-dtree-4-0/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [serbocracy](https://wordpress.org/support/users/serbocracy/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-wordpress-database-error-unknown-column-hash-in-where-clause/)
 * Status: not resolved