Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @ramdvpr,

    Thanks for writing in!

    When you get the chance, can you please confirm if you are still getting the issue submitting the form?

    I have just tried to make a submission and it went through without any issue. Please check this screenshot for reference.

    Thank you.

    Thread Starter ramdvpr

    (@ramdvpr)

    @jadealombro Thanks for your response.

    I have added some temporary fix for this issue, so now it working. But i think it is not a permanent fix. Kindly help me to resolve it ??.

    Scenarios :
    1) For a logged in user we are not facing the above mentioned issue. The form gets submitted & emails are sending perfectly without issues.

    2) For a non logged in user, we are facing the above mentioned issue.

    Temporary fix i added was :

    File Name – wp-admin/admin-ajax.php

    From =>

    /** This action is documented in wp-admin/admin.php */
    do_action( 'admin_init' );

    To =>

    if (!(!is_user_logged_in() && (!empty($_POST['action']) && $_POST['action'] == "wpforms_submit"))) {
        do_action( 'admin_init' );
    }

    Hope this one is helpful to you to find the issue. If needed i can remove the temporary fix added for you to find the issue. Kindly let me know if needed.

    FYI – I’m not a wordpress developer, but having knowledge in PHP, so i found that for unauthenticated users this line is failing. so i added this tmp fix, Kindly help me to resolve it ??????.

    Thank You.

    • This reply was modified 3 years, 1 month ago by ramdvpr.
    Jade Alombro

    (@jadealombro)

    Hello @ramdvpr,

    Thanks for your reply and for the details.

    I don’t think you need to apply the temporary fix you did since it is not advisable to edit the core files of plugins.

    I checked your site again though and it looks like you have the LiteSpeed cache installed and activated.

    When you get the chance, please try the following:

    I hope this helps!

    Hi @ramdvpr,

    We haven’t heard back from you in about a week, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Form Not Submitting’ is closed to new replies.