Title: DB error when disabling the plugin
Last modified: November 11, 2019

---

# DB error when disabling the plugin

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/db-error-when-disabling-the-plugin/)
 * You have an error in your SQL syntax; check the manual that corresponds to your
   MariaDB server version for the right syntax to use near ‘-automated-link-building’
   at line 1 for query DROP TABLE IF EXISTS wp_seo-automated-link-building made 
   by do_action(‘wp_ajax_delete-plugin’), WP_Hook->do_action, WP_Hook->apply_filters,
   wp_ajax_delete_plugin, delete_plugins, uninstall_plugin, do_action(‘uninstall_seo-
   automated-link-building/seo-automated-link-building.php’), WP_Hook->do_action,
   WP_Hook->apply_filters, SeoAutomatedLinkBuildingPlugin::removeTable

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

 *  Plugin Author [Lars Koudal](https://wordpress.org/support/users/lkoudal/)
 * (@lkoudal)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/db-error-when-disabling-the-plugin/#post-12118191)
 * Hello [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 * Thank you for writing to us, but I think you are looking at the wrong plugin.
 * There are no references to SEO Booster in the error you posted. Based on a bit
   of searching, you have the plugin “Internal Links Manager” installed – [https://wordpress.org/plugins/seo-automated-link-building/](https://wordpress.org/plugins/seo-automated-link-building/)
 * Let me know if I missed something, otherwise please contact the authors of that
   plugin.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/db-error-when-disabling-the-plugin/#post-12147976)
 * I deeply apologize for my mistake.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/db-error-when-disabling-the-plugin/#post-12148319)
 * Well giving a second try to the plugin, there is an error while deactivating 
   it. I just posted the wrong one above.
 * And doesn’t deactivate (freezes until you reload the page).
 * The error is:
 * Uncaught Error: Call to undefined function remove_option() in /home/wp-content/
   plugins/seo-booster/seo-booster.php:112
    Type: PHP Fatal error File: /home/wp-
   content/plugins/seo-booster/seo-booster.php
 * Thanks.
 *  Plugin Author [Lars Koudal](https://wordpress.org/support/users/lkoudal/)
 * (@lkoudal)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/db-error-when-disabling-the-plugin/#post-12150886)
 * Hello [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 * Thank you for getting back to us – that is a serious error, I will dig into this
   and get a solution thank you.
 *  Plugin Author [Lars Koudal](https://wordpress.org/support/users/lkoudal/)
 * (@lkoudal)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/db-error-when-disabling-the-plugin/#post-12150961)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 * I am uploading a new release, 3.6.1 that should have this error fixed – thank
   you for spotting it and getting back to me 🙂

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

The topic ‘DB error when disabling the plugin’ is closed to new replies.

 * ![](https://ps.w.org/seo-booster/assets/icon-256x256.jpg?rev=3237135)
 * [SEO Booster](https://wordpress.org/plugins/seo-booster/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-booster/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-booster/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-booster/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-booster/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-booster/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Lars Koudal](https://wordpress.org/support/users/lkoudal/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/db-error-when-disabling-the-plugin/#post-12150961)
 * Status: resolved