• Resolved m0lte91

    (@m0lte91)


    Hey, first of all your Form Plugin is amazing.

    But we got reports from users that somtimes its not possible to submit the form. In this case nothing is happening and it seems the data aren’t submit.

    On submit an email should send to admin and user and the setting “send via WordPress” is activated

    I couldn’t reproduce it myself because everytime I tested it it worked.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter m0lte91

    (@m0lte91)

    btw the error in browser console is:

    wp-admin/admin-ajax.php:1

    Failed to load resource: the server responded with a status of 403 ()
    Plugin Support brandonco

    (@brandonco)

    Hi @m0lte91,

    Given the situation where users report an inability to submit forms through the weForms plugin, with no apparent action taken upon submission and a 403 error in the browser console when accessing wp-admin/admin-ajax.php, it seems you’re facing a server-side issue. The 403 Forbidden status code indicates that the server understands the request but refuses to authorize it. This could be due to a variety of reasons, including server configurations, file permissions, or security plugins that might be incorrectly blocking these requests.

    Since you’ve mentioned the setting “send via WordPress” is activated, which relies on WordPress’s wp_mail function and subsequently the admin-ajax.php file for asynchronous operations, here are the steps to troubleshoot and potentially resolve the issue:

    1. Check Plugin Conflicts: Temporarily deactivate other plugins, especially security plugins, to rule out conflicts. If the form submission works after deactivating a plugin, you’ve found the source of the conflict.
    2. File Permissions: Ensure the file permissions for the wp-admin and wp-includes directories are correctly set. Typically, directories should be 755 or 750, and files should be 644 or 640. Incorrect file permissions can lead to 403 errors.
    3. Server Configuration: Review your server’s configuration files (e.g., .htaccess for Apache or nginx.conf for Nginx) for rules that might be blocking access to admin-ajax.php. Overly aggressive security rules can sometimes cause this issue.
    4. WordPress Core Files: A corrupt admin-ajax.php file could also be the culprit. Re-uploading a fresh copy of the wp-admin and wp-includes folders from a new WordPress download can ensure these core files aren’t the issue.
    5. Contact Hosting Provider: Some hosting environments have strict security measures that might inadvertently block legitimate AJAX requests. Your hosting provider can check if server-side security measures are causing the 403 error.
    6. Check for IP Ban: Ensure your IP address hasn’t been mistakenly blacklisted by a security plugin or the hosting provider, causing requests from your IP to be rejected.

    I hope this helps. Please let us know if you have further questions!

    Thread Starter m0lte91

    (@m0lte91)

    Thanks for your answer.

    I recognized I can reproduce the issue only when I’m not logged in. Thats why I think its because recaptcha. I deactivated it and it seems to work. Hopefully I won’t get spamed now lets see. But you really should take a look into recaptcha and offer an alternative spam protection.

    • This reply was modified 8 months, 1 week ago by m0lte91.
    Plugin Support brandonco

    (@brandonco)

    Hi @m0lte91,

    I’m happy to hear you found a workaround for your issue. We will have to test weForms with Recaptcha and if we do manage to find any bugs a patch will be implemented in a future weForms update. We also have a few other recommendations for fighting spam that you can take a look at on our site – https://weformspro.com/protect-your-wordpress-site-from-spam/

    I hope this helps!

    Thread Starter m0lte91

    (@m0lte91)

    BTW, just wanted to inform you that the cache plugin made some issues. After deactivating it the problem was solved

    Plugin Support brandonco

    (@brandonco)

    Hi @m0lte91

    It’s great to hear that deactivating your cache plugin solved the issue with the form submissions! Caching can sometimes interfere with dynamic actions like form submissions by serving static versions of pages where forms are located.

    Some caching plugins offer options to dynamically cache parts of a page while keeping forms dynamic. Check if your caching plugin supports such features.

    Thanks you and please let us know if you have any other questions for us!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sometimes Form does not sumbit’ is closed to new replies.