I noticed that your admin.ajax (a critical WordPress file) is returning an HTTP 403 error. See here – https://i.imgur.com/sur8dEc.png
I’d speak to your web host about this, and Google up WordPress HTTP 403 admin.ajax to find potential solutions to this.
Here’s one article I found with a fix involving CloudFlare – https://www.zeninvader.com/fix-admin-ajax-403-forbidden-error/
Hope this helped
Thread Starter
Lasha
(@lashac)
But I see the form from my desktop and mobile. I checked it from another PC and it still works.
But when my friend checks from her mobile and desktop, it doesn’t.
I can’t understand why admin-ajax is the issue.
Not sure about the speicifc cause, but it appears to be a semi common wordpress error. Luckily there’s various suggestions online on how to go about solving it.
Other people reporting the issue say logged in/Admin accounts don’t experience the error, but all other accounts do.
One common fix seems to be clearing/disabling any caching temporarily.
This guide is solid – https://www.elegantthemes.com/blog/wordpress/fix-the-403-forbidden-error
And you can search what I recommended in my previous post for other info.
Hope this helped get you closer to a solution
Thread Starter
Lasha
(@lashac)
Yes but I don’t see any error. Everything is OK. Form is working but on some devices it doesn’t so on the front.
Hello @lashac !
Hope you’re having a good week!
Apologies for the inconvenience here!
I agree, it doesn’t seem like it’s the Ajax issue – I also see the form and the Ajax is working fine. I think it may be a different issue for which we have a temporary fix – if that’s okay, please test it and let us know if it worked for you.
To apply the fix:
– copy below code to a .php file with any name
<?php function wpmudev_forminator_ajax_load_without_nonce() {
$_POST[ 'nonce' ] = wp_create_nonce( 'forminator_load_module' );
}
add_action( 'wp_ajax_forminator_load_form', 'wpmudev_forminator_ajax_load_without_nonce' );
add_action( 'wp_ajax_nopriv_forminator_load_form', 'wpmudev_forminator_ajax_load_without_nonce' );
– create directory wp-content/mu-plugins if it doesn’t exist
– upload the file to that directory
– clear all caches on the site
– test
Warm regards,
Pawel
Thread Starter
Lasha
(@lashac)
@wpmudev-support9 I will try it and get back to you
Thread Starter
Lasha
(@lashac)
It was a permission issue and it’s solved, the code snippet is not necessary anymore.
Thanks