WordPress.org

Support

Support » Plugins and Hacks » Question and Answer Forum » [Plugin: Question and Answer Forum] PHP Warning: Missing argument 2 for q_answeremail_subject() in

[Plugin: Question and Answer Forum] PHP Warning: Missing argument 2 for q_answeremail_subject() in

Viewing 1 replies (of 1 total)
  • Plugin Author trevorpythag

    @trevorpythag

    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

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Question and Answer Forum] PHP Warning: Missing argument 2 for q_answeremail_subject() in’ is closed to new replies.
Skip to toolbar