mahesh chimmiri
asked 9 years ago

I am using DW question and Answer plugin,it is working good but i am facing a problem with a waring message . when the users submit the answer for the particular question it will be submitted successfully but showing a warning message like  
Warning can’t modify header information – headers are already sent by (output started at /home/content/69/11769069/html/hadoop/wp-content/themes/sahifa/header.php:2) in  /home/content/69/11769069/html/hadoop/wp-includes/pluggable.php on line 896
I am using sahifa wordpress theme is there any problem with theme ?

1 Answers
DominicStaff
answered 9 years ago

Hi Mahesh !
Please go to Dashboard / Plugins / Editor, select DW Question & Answer plugin, then click to edit dw-question-answer/inc/actions.php.
Find this code below (at the very first of the file):

<?php 
global $post_submit_filter;

and change it into this:

<?php 
error_reporting(0);
global $post_submit_filter;

Hope that helps!

Powered by DW Question & Answer Pro