@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.