Title: Throwing DB error
Last modified: September 23, 2017

---

# Throwing DB error

 *  [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/throwing-db-error/)
 * On the knowledgebase page it is throwing this error:
 * WordPress database error: [Unknown column ‘t.terms_order’ in ‘order clause’]
   
   SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id
   = tt.term_id WHERE tt.taxonomy IN (‘kbe_taxonomy’) AND tt.parent = ‘0’ ORDER 
   BY t.terms_order ASC
 * The plugin was removed at first with the delete all info” setting, then once 
   reinstalled it gave this error.
 * Another problem, when the plugin is deleted it removes the page that the shortcode
   is on, thereby creating a menu error from WordPress.

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

 *  Thread Starter [Scott Paterson](https://wordpress.org/support/users/scottpaterson/)
 * (@scottpaterson)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/throwing-db-error/#post-9524626)
 * Just went to delete the plugin again and got this error:
 * Deletion failed: WordPress database error: [Can't DROP 'terms_order'; check that
   column/key exists]ALTER TABLE wp_terms DROP COLUMN `terms_order`{“success”:true,”
   data”:{“delete”:”plugin”,”slug”:”wp-knowledgebase”,”plugin”:”wp-knowledgebase\/
   wp-knowledgebase.php”,”pluginName”:”WP Knowledgebase”}}
 *  [Daniel Milner](https://wordpress.org/support/users/danielmilner/)
 * (@danielmilner)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/throwing-db-error/#post-9668585)
 * I’m experiencing the exact same issue as Scott.

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

The topic ‘Throwing DB error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-knowledgebase_c56559.svg)
 * [WordPress Knowledge base & Documentation Plugin - WP Knowledgebase](https://wordpress.org/plugins/wp-knowledgebase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-knowledgebase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-knowledgebase/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-knowledgebase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-knowledgebase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-knowledgebase/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Daniel Milner](https://wordpress.org/support/users/danielmilner/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/throwing-db-error/#post-9668585)
 * Status: not resolved