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! 🙂

0

Hi, It seems you have downloaded it from wordpress.org. I had this problem few days ago,too.

You need to download new anspress from GitHub, this issue was fixed apparently.

Good Luck

Thank you! I’ll check that right now.

Unfortunately, that didn’t work. I tried the one at Github and then I tried the one on this site.