Fresh Install – Multiple Issues
Hello, I just did a fresh install and ran through some tests but experienced multiple issues. Not sure the best way to proceed on this.
- Submitting a question does nothing visually. The question does get submitted to the database, but the user doesn’t see anything. The page doesn’t redirect and no confirmation message appears. To the user, it appears the form is broken and repeatedly hitting the submit button causes a duplicate question error.
- Same issue as #1 when editing an existing question.
- Clicking on a “follow’ button on any question or category pops up with the error “Something went wrong, last action failed.”
- Clicking on the thumbs up or down to vote on a question fails with a “null” error and no vote is registered.
Thanks for any assistance.
Thanks for your quick reply. You’re right there is a js error, but I’m not sure what’s causing it. Here is the console error:
jquery.min.js
Error: Syntax error, unrecognized expression: array(9) {
[”post_author”]=>
int(9)
[”post_status”]=>
string(7) “publish”
[”post_name”]=>
string(0) “”
[”comment_status”]=>
string(4) “open”
[”attach_uploads”]=>
bool(true)
[”post_title”]=>
string(37) “What are the best Triathlon wetsuits?”
[”post_content”]=>
string(50) “I need a new Triathlon wetsuit, what should I buy?”
[”post_parent”]=>
int(0)
[”post_type”]=>
string(8) “question”
}
<div id=”ap-response”>{“action”:”new_question”,”message”:”Question submitted successfully”,”do”:{“redirect”:”***URL REMOVED***”},”ap_responce”:true,”message_type”:”success”,”is_ap_ajax”:true}</div>
Its look like some other plugin or theme is behind this. They are using var_dump to output raw codes somewhere.
Hello,
Page is not redirecting because there must be some JS error on your site which is breaking other JS codes as well. Please update to AnsPress 4.x and then try. Also check if there are any JS error in browser console.