Loading but never posts

Solved5.62K viewsIssues
0

For some reason, when I use my admin account to post a question, it works; but when I use my subscriber account, it displays the loading symbol but never posts the question. I have waited more than 5 minutes and this happens over and over again.

Also, instead of the required fields showing an error message, the subscriber sees “Warning: Invalid argument supplied for foreach() in …plugins/anspress-question-answer/includes/class-form.php on line 470

Warning: Invalid argument supplied for foreach() in…/plugins/anspress-question-answer/includes/class-form.php on line 470
Title

But this works properly for the admin user.

0

I see this in ajax request:

<code role="listitem" class="wrappedText focusRow">Oops! You do not have sufficient permissions to access this page.</code>

This issue is not related to AnsPress, you have blocked access to WordPress ajax url hence ajax requests are not working.

Yes, it was a problem with my theme. It’s been fixed, thank you! 🙂

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