Support » Plugin: Simple Pagination » register_uninstall_hook was called incorrectly

  • Resolved lkraav

    (@lkraav)


    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'));

    http://wordpress.org/extend/plugins/simple-pagination/

Viewing 1 replies (of 1 total)
  • Plugin Author GeekPress

    (@geekpress)

    Hi lkraav,

    Try the new version (2.1.4). All PHP notices errors are removed.

    Thanks for your support.

Viewing 1 replies (of 1 total)
  • The topic ‘register_uninstall_hook was called incorrectly’ is closed to new replies.