xeno010 / Wp-Pro-Quiz

Wordpress WP-Pro-Quiz Plugin (Official)
GNU General Public License v2.0
117 stars 112 forks source link

wpproquiz Interference with wpDiscuz #97

Open omidhajivali opened 4 years ago

omidhajivali commented 4 years ago

Hello I received an error in quiz page error details:

Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpDiscuzForm::renderCommentMetaHtml(), 1 passed in /home/ostadon1/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /home/ostadon1/public_html/wp-content/plugins/wpdiscuz/forms/wpDiscuzForm.php:272 Stack trace: #0 /home/ostadon1/public_html/wp-includes/class-wp-hook.php(287): wpDiscuzForm->renderCommentMetaHtml('\xD8\xAF\xD8\xB1 \xD8\xA2\xD8\xB2\xD9\x85\xD9\x88\xD9\x86...') #1 /home/ostadon1/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters('\xD8\xAF\xD8\xB1 \xD8\xA2\xD8\xB2\xD9\x85\xD9\x88\xD9\x86...', Array) #2 /home/ostadon1/public_html/wp-content/plugins/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php(623): apply_filters('comment_text', '\xD8\xAF\xD8\xB1 \xD8\xA2\xD8\xB2\xD9\x85\xD9\x88\xD9\x86...') #3 /home/ostadon1/public_html/wp-content/plugins/wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php(96): WpProQuiz_View_FrontQuiz->showStartQuizBox() #4 /home/ostadon1/public_html/wp-content/plugins/wp-pro-q in /home/ostadon1/public_html/wp-content/plugins/wpdiscuz/forms/wpDiscuzForm.php on line 272

I realized this error is a Interference with wpDiscuz plugin. after deactivate wpDiscuz error fixed. how can I use both plugins without error?