Title: [Plugin: SubHeading] register_uninstall_hook was called incorrectly
Last modified: August 20, 2016

---

# [Plugin: SubHeading] register_uninstall_hook was called incorrectly

 *  Resolved [zentralmaschine](https://wordpress.org/support/users/zentralmaschine/)
 * (@zentralmaschine)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-subheading-register_uninstall_hook-was-called-incorrectly/)
 * Getting this error message on admin pages, after activating the plugin:
 * <b>Notice</b>: register_uninstall_hook was called **incorrectly**. Only a static
   class method or function can be used in an uninstall hook. Please see [Debugging in WordPress](http://codex.wordpress.org/Debugging_in_WordPress)
   for more information. (This message was added in version 3.1.) in <b>[…]/wp-includes/
   functions.php</b> on line <b>3587</b>
 * Of course, this will only show when debugging is enabled.
 * [http://wordpress.org/extend/plugins/subheading/](http://wordpress.org/extend/plugins/subheading/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Steve](https://wordpress.org/support/users/stvwhtly/)
 * (@stvwhtly)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-subheading-register_uninstall_hook-was-called-incorrectly/#post-2666272)
 * Hi,
 * As of version 1.6 this error should no longer be appearing when debug mode is
   enabled.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: SubHeading] register_uninstall_hook was called incorrectly’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subheading_f4f4f4.svg)
 * [SubHeading](https://wordpress.org/plugins/subheading/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subheading/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subheading/)
 * [Active Topics](https://wordpress.org/support/plugin/subheading/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subheading/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subheading/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steve](https://wordpress.org/support/users/stvwhtly/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-subheading-register_uninstall_hook-was-called-incorrectly/#post-2666272)
 * Status: resolved