[Solved] Submit button does not confirm or refresh
When submitting a comment with wpDiscuz I get an error in the console.
The comment is submitted but there is no confirmation and the comment form isn’t refreshed to show the new comment. It just shows the loading animation for a second, then nothing else. If you click submit again, it says it's a duplicate.
I tried default WP 2022 theme with all other plugins disabled - same problem.
It is an intranet so I cannot share the website. I've included screenshots.
Something blocks the native WordPress admin-ajax.php file.
Please check your security plugins' options and make sure they don't block the WordPress AJAX. This could be also blocked by the .htaccess file.
First please deactivate the plugins one by one and check after each deactivation, so you'll find a problem maker.
This also can be done by the server-side. If none of the plugins caused the issue please contact the server support and ask them to check the access of the admin-ajax.php file.
WP Engine confirms nothing is blocking access of the admin-ajax.php file.
Sorry about that. I've removed that login step for you.
Could you send me a link to download the fixed version? I had to delete most of the posts and pages for the staging site because it had confidential info. Thank you.
Terrific! It's working well now. Thanks for your efforts. You can close this thread.