Simple Pagination
[resolved] register_uninstall_hook was called incorrectly (2 posts)

  1. lkraav
    Posted 2 years ago #

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


  2. GeekPress
    Plugin Author

    Posted 1 year ago #

    Hi lkraav,

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

    Thanks for your support.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Pagination
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic