Title: Plugin activation fails
Last modified: August 21, 2016

---

# Plugin activation fails

 *  Resolved [codemagi](https://wordpress.org/support/users/codemagi/)
 * (@codemagi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-activation-fails-2/)
 * When I try to activate the plugin, I see the following error message:
 * `The plugin generated 447 characters of unexpected output during activation. 
   If you notice “headers already sent” messages, problems with syndication feeds
   or other issues, try deactivating or removing this plugin.`
 * Subsequently, when using any of the Term Order screens I see this:
 *     ```
       WordPress database error: [Unknown column 't.term_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 ('category') AND tt.parent = '0' ORDER BY t.term_order ASC
       ```
   
 * The column ‘term_order’ does not exist in the database. I think it is because
   the SQL to create the column in the table includes  tags (customtaxorder.php,
   line 424):
 * `ALTER TABLE $wpdb->terms ADD <code>term_order</code> INT( 4 ) NULL DEFAULT '
   0'`
 * The plugin functions properly when I change that line to:
 * `if ($init_query == 0) { $wpdb->query("ALTER TABLE $wpdb->terms ADD term_order
   INT( 4 ) NULL DEFAULT '0'"); }`
 * [https://wordpress.org/plugins/custom-taxonomy-order-ne/](https://wordpress.org/plugins/custom-taxonomy-order-ne/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * (@mpol)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-activation-fails-2/#post-4646130)
 * Thank you. It’s changed in 2.3.9

Viewing 1 replies (of 1 total)

The topic ‘Plugin activation fails’ is closed to new replies.

 * ![](https://ps.w.org/custom-taxonomy-order-ne/assets/icon-256x256.png?rev=1284953)
 * [Custom Taxonomy Order](https://wordpress.org/plugins/custom-taxonomy-order-ne/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-taxonomy-order-ne/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-taxonomy-order-ne/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-taxonomy-order-ne/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-taxonomy-order-ne/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-taxonomy-order-ne/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Marcel Pol](https://wordpress.org/support/users/mpol/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/plugin-activation-fails-2/#post-4646130)
 * Status: resolved