Fresh Install – Multiple Issues

4.16K viewsIssues
0

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.

  1. 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.
  2. Same issue as #1 when editing an existing question.
  3. Clicking on a “follow’ button on any question or category pops up with the error “Something went wrong, last action failed.”
  4. 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.

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.

0

Just follow the standard WordPress debuging.

Enable debug.log, disable one by one the plugins and check what causes a possible confict and finally switch to default theme.

0

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>

commented on answer

Its look like some other plugin or theme is behind this. They are using var_dump to output raw codes somewhere.