david Alfredo gamboa Uribe
asked 4 weeks ago

Install de demo version and works fine, I create categories and questions and answers, good plugin, BUT ERROR when purchase de PRO VERSION, I install, and desinstall the demo version.
muy database show now this problem error.
PHP Fatal error: Cannot redeclare td_comment() (previously declared in /home/pastora9/public_html/wp-content/plugins/td-standard-pack/Newspaper/comments.php:138) in /home/pastora9/public_html/wp-content/plugins/td-standard-pack/Newspaper/comments.php on line 138

1 Answers
DominicStaff
answered 4 weeks ago

You can add the following code to the functions.php file of your theme: 

add_action('template_redirect', 'remove_td_comment_filter', 10); 
function remove_td_comment_filter(){ 
if ( is_singular('dwqa-question')){ 
remove_filter( 'comments_template', 'tdc_template_include', 99 ); 
}
}
Powered by DW Question & Answer Pro