WordPress.org

Forums

Email Post Changes
[resolved] Error "Strict Standards" on all pages of WordPress backend (4 posts)

  1. Ov3rfly
    Member
    Posted 1 year ago #

    With WP_DEBUG set to true, a php message appears on every page of WordPress backend with 1.5beta:

    Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method Email_Post_Changes::init() should not be called statically in ../wp-includes/plugin.php on line 406

    Reason is in file class.email-post-changes.php in line 15:

    Current version:

    function init() {

    Suggested fix:

    public static function init() {

    Thanks for the great plugin.

    http://wordpress.org/plugins/email-post-changes/

  2. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    There are also notices on savings the settings, and saving a post/page.

    A patch is at http://pastebin.com/Jn8B9KGL

  3. Ian Dunn
    Member
    Plugin Author

    Posted 1 year ago #

    This has been fixed in 1.6-beta.

  4. Michael Adams (mdawaffe)
    Member
    Plugin Author

    Posted 1 year ago #

    Cool. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Email Post Changes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.