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

  1. Ov3rfly
    Posted 2 years 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.


  2. Ian Dunn
    Plugin Author

    Posted 2 years 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
    Plugin Author

    Posted 2 years ago #

    This has been fixed in 1.6-beta.

  4. Michael Adams (mdawaffe)
    Plugin Author

    Posted 2 years 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


No tags yet.