WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Warning message

[Resolved] Warning message

Viewing 4 replies - 1 through 4 (of 4 total)
  • oxfordian3
    Member

    @oxfordian3

    It looks like a problem with the Amen plugin.

    I can view the plugin source code at:

    http://plugins.trac.wordpress.org/browser/amen/trunk/amen-submit-prayer.php?rev=639781

    and in line 38, the code is

    setcookie("wp_amen_session", $amen_session, time() + 631138519, '/');

    The plugin is trying to set a cookie after HTML output has commenced (headers already sent), which is not allowed.

    The fix would have to be made by the plugin author. It seems to me that the change should be on line 17 of the same file:

    add_action( 'wp_head', 'amen_cookies' );

    If it was changed to

    add_action( 'init', 'amen_cookies' );

    then I think it would probably fix it.

    tomjamieson
    Member

    @tomjamieson

    Thanks so much! That did the trick. I really appreciate your help!

    oxfordian3
    Member

    @oxfordian3

    Glad to help! (You can mark the thread as resolved.)

    Plugin Author UaMV
    Participant

    @uamv

    Thanks. i also just found this. Should be fixed in release 0.1.0. Also, realize i should subscribe to my own support feed! Hope the plugin is working for you. i’m learning … feedback always welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Warning message’ is closed to new replies.