WordPress.org

Ready to get started?Download WordPress

Forums

Question and Answer Forum
PHP Warning: Missing argument 2 for q_answeremail_subject() in (2 posts)

  1. johnyma22
    Member
    Posted 3 years ago #

    PHP Warning: Missing argument 2 for q_answeremail_subject() in answeremail.php on line 4

    http://wordpress.org/extend/plugins/question-and-answer-forum/

  2. trevorpythag
    Member
    Plugin Author

    Posted 3 years ago #

    which version of the plugin are you using. I believed I had fixed this problem by version 2.0.3.

    You should be able to fix this problem by editing lines 2 and 3 of answermail.php so that they read

    add_filter('comment_notification_text','q_answeremail_message',10,2);
    
    add_filter('comment_notification_subject','q_answeremail_subject',10,2);

    If this is already what they are or doing this doesn't fix the problem you can disable the feature causing the error (sending emails to alert logged in questions authors of new answers) by deleting these two lines.

    Hope this helps

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic