Title: PHP errors from plugin, looking for non-existent DB column
Last modified: August 21, 2016

---

# PHP errors from plugin, looking for non-existent DB column

 *  [Mike Bijon](https://wordpress.org/support/users/mbijon/)
 * (@mbijon)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-errors-from-plugin-looking-for-non-existent-db-column/)
 * I mistakenly posted this to the wrong place (general forum). Moving here for 
   specific attention:
 * After updating to Relevanssi 3.1.6 (not sure from which version, we skipped a
   few minor ones), our site has the error “Unknown column ‘term_reverse’ in ‘field
   list'”
 * That missing column name is traceable to the Relevanssi plugin. In the case of
   the error it’s called in our AJAX’d search results via ‘relevanssi_insert_edit()’.
   I don’t have specific line numbers and haven’t dug into the code yet. But if 
   it helps, here’s the stack trace of the error:
 *     ```
       in mysql_query called at /usr/share/nginx/www/wp-includes/wp-db.php (1200)
       … called at /usr/share/nginx/www/wp-content/plugins/relevanssi/lib/indexing.php (397)
       … called at /usr/share/nginx/www/wp-content/plugins/relevanssi/lib/indexing.php (537)
       … called at /usr/share/nginx/www/wp-content/plugins/relevanssi/lib/indexing.php (561)
       in relevanssi_insert_edit called at ? (?)
       in call_user_func_array called at /usr/share/nginx/www/wp-includes/plugin.php (406)
       in do_action called at /usr/share/nginx/www/wp-includes/post.php (2948)
       in wp_insert_post called at /usr/share/nginx/www/wp-includes/post.php (3003)
       in wp_update_post called at /usr/share/nginx/www/wp-admin/includes/post.php (257)
       in edit_post called at /usr/share/nginx/www/wp-admin/includes/ajax-actions.php (1080)
       in wp_ajax_autosave called at ? (?)
       in call_user_func_array called at /usr/share/nginx/www/wp-includes/plugin.php (406)
       in do_action called at /usr/share/nginx/www/wp-admin/admin-ajax.php (72)
       ```
   
 * This error appears to be causing a memory leak and some minor performance issues
   on our servers. Any chance you can patch it up? I’d be happy to help with additional
   debugging info or even get into the code if you take code submissions (Github
   maybe?).`
 * [http://wordpress.org/extend/plugins/relevanssi/](http://wordpress.org/extend/plugins/relevanssi/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/php-errors-from-plugin-looking-for-non-existent-db-column/#post-3935469)
 * Do a deactivate-reactivate for the plugin, and it should work just fine. The 
   latest update added a new database column.

Viewing 1 replies (of 1 total)

The topic ‘PHP errors from plugin, looking for non-existent DB column’ is closed
to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [performance](https://wordpress.org/support/topic-tag/performance/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/php-errors-from-plugin-looking-for-non-existent-db-column/#post-3935469)
 * Status: not resolved