Ask Question page not redirecting after “Post question” and validation options are disregarded

4.85K viewsIssues
1

Installed Anspress Version 3.0.7 on a WordPress 4.6.1 website. After posting a question, the redirect is not working.

Moreover, content validation is also not working properly – the Minimum title length and the Minimum question content options are entirely disregarded. At least submitting a question without a title throws an error and i see it (“this field is required”).

The website is including jquery 2.2.0 .

I have a console error: Uncaught Error: Syntax error, unrecognized expression: array(9)  (…).

I understand this might be the reason the redirect is not working, but I also see that the response is a successful one, even though it shouldn’t be (because of the length options in the plugin settings).

The question is being posted, but the user has no way of knowing this.

Please help me! I would greatly appreciate a speedy response.

Let me know if there is anything i can do to fix this.

0

I was able to determine what the problem was: The theme used deregisters the default jquery (and then re-registers it) in order to serve it from CDN. Even though I tried using the same jquery version as the default WordPress one, it did not work, so my only option was to use the default one.

You are viewing 1 out of 2 answers, click here to view all answers.