WordPress.org

Forums

[Plugin: After the Deadline] PHP Error - Undefined variable on line 45 (2 posts)

  1. linickx
    Member
    Posted 5 years ago #

    Hello,
    This plugin doesn't seem to work for me... msg in error_log...

    [Wed Sep 09 09:28:52 2009] [error] [client x.x.x.x] PHP Notice: Undefined variable: postText in /webroot/wp-content/plugins/after-the-deadline/proxy.php on line 45

    Any suggestions?
    Thanks in advance.

    http://wordpress.org/extend/plugins/after-the-deadline/

  2. rsmudge
    Member
    Posted 5 years ago #

    Hi,
    I'm the plugin author. Could you tell me what actions you took that caused this? Here is the code that sets $postText:

    if ( $_SERVER['REQUEST_METHOD'] === 'POST' )
    {
       $postText = trim(file_get_contents('php://input'));
    }

Topic Closed

This topic has been closed to new replies.

About this Topic