WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Ov3rfly
    Member
    Posted 10 months 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 9 months 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 9 months ago #

    This has been fixed in 1.6-beta.

  4. Michael Adams (mdawaffe)
    Member
    Plugin Author

    Posted 9 months ago #

    Cool. Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.