Title: Fatal Error when Uninstalling
Last modified: August 21, 2016

---

# Fatal Error when Uninstalling

 *  Resolved [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-uninstalling-1/)
 * I get a similar error to the 1.2.1 version when I try to uninstall (I am running
   the 1.2.2 version of this plugin):
 * `Fatal error: Using $this when not in object context in /vservers/c145013-h216860/
   htdocs/wp_test/wp-content/plugins/wp-mailto-links/includes/class-admin-wp-mailto-
   links.php on line 112`
 * If I go into the plugins and manually delete it – will it leave anything in the
   database or do I need to wait for the updated version before fully removing it
   from my website?
 * P.S. I’m not uninstalling because I dislike the plugin just don’t need it for
   this project 😀
 * [http://wordpress.org/plugins/wp-mailto-links/](http://wordpress.org/plugins/wp-mailto-links/)

Viewing 1 replies (of 1 total)

 *  [Pi Zi](https://wordpress.org/support/users/freelancephp/)
 * (@freelancephp)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-uninstalling-1/#post-4507541)
 * Yes, it will be fixed in the next release.
 * Technical explanation: the callback function for the uninstall hook should be
   a static function. The use of `$this` within the static function will cause the
   fatal error.

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error when Uninstalling’ is closed to new replies.

 * ![](https://ps.w.org/wp-mailto-links/assets/icon-256x256.png?rev=2057013)
 * [WP Mailto Links - Protect Email Addresses](https://wordpress.org/plugins/wp-mailto-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mailto-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mailto-links/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mailto-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mailto-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mailto-links/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Pi Zi](https://wordpress.org/support/users/freelancephp/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-when-uninstalling-1/#post-4507541)
 * Status: resolved