• When you hit submit, the wheel just spins. It worked yesterday and we made no changes. There is nothing in the log files. All plugins are updated and on the latest version of WP.

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

Viewing 1 replies (of 1 total)
  • Plugin Support brandonco

    (@brandonco)

    Hi @jchiricotti, thanks a lot for reaching out!

    When the submit button spins indefinitely in weForms, and there are no obvious errors in the logs, it often indicates an issue with either JavaScript conflicts, server configurations, or form settings. Here’s a step-by-step troubleshooting guide:1. Check for JavaScript Errors

    • Open your browser’s Developer Tools (usually accessible with F12 or Ctrl + Shift + I / Cmd + Option + I) and go to the Console tab.
    • Submit the form and look for any JavaScript errors or warnings.
    • If you see errors, note which files or scripts are causing them.

    2. Enable Debugging in WordPress

    • Add the following lines to your wp-config.php file to enable debugging and log errors:

    define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false );

    • Submit the form again and check the log file in /wp-content/debug.log for any PHP errors.

    3. Test for Plugin or Theme Conflicts

    • Temporarily disable all plugins except weForms and switch to a default theme like Twenty Twenty-Three.
    • Test the form again. If it works, re-enable plugins one by one and retest to identify the conflicting plugin.
    • If the form still doesn’t work with only weForms active, the issue may be within weForms or your server configuration.

    4. Check Server-Side Issues

    • Ensure that your server meets the weForms requirements:
      • PHP version: 7.4 or higher
      • Memory limit: 128MB or more
    • Look for server-related errors:
      • Check your PHP error log (usually available in your hosting control panel or via FTP).
      • Look for mod_security rules or firewall settings that may be blocking AJAX requests.

    5. Inspect AJAX Requests

    • Submit the form and open the Network tab in Developer Tools.
    • Filter for XHR or Fetch requests and look at the requests made by the form.
    • If the request fails:
      • Check the response for any error messages (e.g., 403, 500).
      • Verify that the URL in the request matches your site’s correct URL (no http/https mismatches).

    6. Re-Save Permalinks

    • Go to Settings > Permalinks and click Save Changes without making any changes. This flushes the rewrite rules and might resolve potential routing issues.

    7. Recreate the Form

    • Export the form (to back it up) and then delete it.
    • Recreate a new form with the same fields and settings. Test the new form.

    8. Check for a weForms Update or Known Issue

    • Visit the weForms support forum or documentation to check if this is a known issue with the latest update.
    • If it’s a pro version, ensure your license is active and the plugin is properly synced.

    9. Enable Logging in weForms

    • Go to weForms > Settings > General and enable Form Submission Log.
    • Submit the form again and check the submission logs for any clues.

    Let us know if you have any questions on this @jchiricotti we’ll be right here to help!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.