WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. lkraav
    Member
    Posted 10 months 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'));

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

  2. GeekPress
    Member
    Plugin Author

    Posted 3 months ago #

    Hi lkraav,

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

    Thanks for your support.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags