Notifications
Clear all

[Solved] User & Comment Mentioning crashed my website

19 Posts
4 Users
1 Reactions
3,520 Views
Posts: 34
 P H
Customer
Topic starter
(@pejman-habibi)
Member
Joined: 5 years ago

Well, I don't know how to resolve that issue, and, I think you know, Wp-Pro-Quiz  has not been updated in 5 years, though it miraculously continues to run without a hitch. (Hats off to the plugin author, !) So I can't contact him, but I can and have contacted you. 😉

What it means for me, I'm afraid, is that I won't be able to use the wpDiscuz User & Comment Mentioning add-on. 🙁 ... which is a pity, as, as a new customer, I am quite happy with my purchase of your bundle.

8 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

@pejman-habibi,

Please change the role of the user to admin and let us know. The developers will try to help you with this. 

 P H
Customer
(@pejman-habibi)
Joined: 5 years ago

Member
Posts: 34

@astghik

Done!

(And thank you for following this up!)

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

@pejman-habibi,

The developers have checked the codes of the plugin. The only way to solve the issue in the plugin code is deleting that hook. However, we're not sure if it may not cause other conflicts. So please let us know if you confirm to delete that hook.

 P H
Customer
(@pejman-habibi)
Joined: 5 years ago

Member
Posts: 34

@astghik

If you do, and it causes other conflicts, will you be kind enough to restore the original at my request ? If so, yes, please go ahead and delete it, and we'll see how it goes.

Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

@pejman-habibi,

The hook is already removed. Please test it and let us know if you see any issues. 

Customer
(@hai991dk)
Joined: 7 years ago

Member
Posts: 8

@astghik How to remove hook? I also encountered similar problems, although I do not use wpDiscuz User & Comments Mentioning

 

<p>
<?php echo do_shortcode(apply_filters('comment_text', $this->quiz->getText())); ?>
</p>

 

2020 05 26 211335
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@hai991dk,

The issue comes from the Wp-Pro-Quiz plugin. Please follow the steps below toto get it resolved:

1. Open the following file:

wp-pro-quiz/lib/view/WpProQuiz_View_FrontQuiz.php

2. Find the following lines, and replace with the following ones:

2.1. line 623

apply_filters('comment_text', $this->quiz->getText()) 

2.2 replace with the following one:

$this->quiz->getText()

2.1. line 761

apply_filters('comment_text', $resultText) 

2.2 replace with the following one:

$resultText

2.1. line 871

apply_filters('comment_text', $question->getQuestion())

2.2. replace with the following one:

$question->getQuestion()

2.1. line 985

apply_filters('comment_text',$clozeData['replace'])

replace with the following one:

$clozeData['replace']

2.1. line 995

apply_filters('comment_text',$assessmentData['replace'])

2.2 replace with the following one:

$assessmentData['replace']

2.1. line 1032

apply_filters('comment_text',$question->getCorrectMsg())

2.2 replace with the following one:

$question->getCorrectMsg()

2.1. line 1060

apply_filters('comment_text',$question->getCorrectMsg())

replace with the following one:

$question->getCorrectMsg()

2.1. line 1062

apply_filters('comment_text',$question->getIncorrectMsg())

2.2.replace with the following one:

$question->getIncorrectMsg()

2.1. line 1081

apply_filters('comment_text', $question->getTipMsg())

2.2. replace with the following one:

$question->getTipMsg()

Please don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

Customer
(@hai991dk)
Joined: 7 years ago

Member
Posts: 8

@elvina Thanks so much!

Posts: 34
 P H
Customer
Topic starter
(@pejman-habibi)
Member
Joined: 5 years ago

Thank you very much for your effort and follow-up. I really appreciate your service-minded attitude.

The Mentioning Addon is now active and the pages with wp-pro-quiz quizzes on them seem to be functioning normally. I'll keep on looking into it to make sure all's good.

Thank you, too, for the couple of useful plugins your developers have installed on my site (Query Monitor and AceIDE)! 🙂

2 Replies
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

@pejman-habibi,

I'll keep on looking into it to make sure all's good.

Sure please keep us informed. 

Thank you, too, for the couple of useful plugins your developers have installed on my site (Query Monitor and AceIDE)! 

Yes the plugins are very useful. You can keep those plugins. 

Customer
(@hai991dk)
Joined: 7 years ago

Member
Posts: 8

@pejman-habibi Can you compress folder wp-pro-quiz and share for me?

Page 2 / 2
Share:
Scroll to top