register_uninstall_hook was called incorrectly
-
Version 2.1.3
[30-May-2013 08:11:31] PHP Notice: 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 for more information. (This message was added in version 3.1.) in wp-includes/functions.php on line 2959
This is caused by L70+:
70 //tell wp what to do when plugin is activated and deactivated 71 if (function_exists('register_uninstall_hook')) 72 register_uninstall_hook(__FILE__, array(&$this, 'deactivate'));
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘register_uninstall_hook was called incorrectly’ is closed to new replies.