• Resolved romyms

    (@romyms)


    Had disabled all other plugins but still this problem exist. Please help how to solve this one.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudevsupport3)

    Hi @romyms ,

    I hope you’re doing well and I’m sorry to see that you’re facing this issue.

    I’ve tried a submission and got a 500 internal server error in the Dev Console from my browser which points to a possible PHP error.

    In order to get more info and be able to help you further, could you please enable the debug on your wp-config.php file? To do this, please find a line that looks like this:

    define('WP_DEBUG', true);

    And replace it with:

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    @ini_set( 'log_errors', 1 );
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    In case you don’t find the line of code, please add that just above the that’s all stop coding comment.

    Then, please try to submit the form again, it will fail, and finally please check your wp-content folder, confirm if there is a debug.log file.

    Please confirm if there is any error on that file and share it with us, usually it starts with “PHP Fatal Error”.

    I hope to hear back from you soon.
    Best Regards,
    Williams Valerio

    Thread Starter romyms

    (@romyms)

    Hi William,

    I did all the things you mentioned and after filling form and clicking on submit button I received the same error which says “An error occurred while processing the form. Please try again”.

    Content of debug.log file are as follows:

    [28-May-2025 14:39:27 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the sina-ext domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/ishwartravel/public_html/wp-includes/functions.php on line 6121
    [28-May-2025 14:39:29 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the sina-ext domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/ishwartravel/public_html/wp-includes/functions.php on line 6121
    [28-May-2025 14:39:30 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the sina-ext domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/ishwartravel/public_html/wp-includes/functions.php on line 6121
    [28-May-2025 14:40:08 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the sina-ext domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/ishwartravel/public_html/wp-includes/functions.php on line 6121
    [28-May-2025 14:40:08 UTC] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/ishwartravel/public_html/wp-includes/PHPMailer/PHPMailer.php:880
    Stack trace: 0 /home/ishwartravel/public_html/wp-includes/PHPMailer/PHPMailer.php(1968): PHPMailer\PHPMailer\PHPMailer->mailPassthru(‘[email protected]…’, ‘New Form Entry …’, ‘

    You have a n…’, ‘Date: Wed, 28 M…’, NULL) 1 /home/ishwartravel/public_html/wp-includes/PHPMailer/PHPMailer.php(1691): PHPMailer\PHPMailer\PHPMailer->mailSend(‘Date: Wed, 28 M…’, ‘

    You have a n…’) 2 /home/ishwartravel/public_html/wp-includes/PHPMailer/PHPMailer.php(1523): PHPMailer\PHPMailer\PHPMailer->postSend() 3 /home/ishwartravel/public_html/wp-includes/pluggable.php(547): PHPMailer\PHPMailer\PHPMailer->send() 4 /home/ishwartravel/public_html/wp-content/plugins/forminator/library/abstracts/abstract-class-mail.php(433): wp_mail(Array, ‘New Form Entry …’, ‘

    You have a n…’, Array) 5 /home/ishwartravel/public_html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-mail.php(232): Forminator_Mail->send_multiple() 6 /home/ishwartravel/public_html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(1151): Forminator_CForm_Front_Mail->process_mail(Object(Forminator_Form_Model), Object(Forminator_Form_Entry_Model)) 7 /home/ishwartravel/public_html/wp-content/plugins/forminator/library/modules/custom-forms/front/front-action.php(1133): Forminator_CForm_Front_Action::send_email(Object(Forminator_Form_Entry_Model)) 8 /home/ishwartravel/public_html/wp-content/plugins/forminator/library/abstracts/abstract-class-front-action.php(454): Forminator_CForm_Front_Action->handle_form() 9 /home/ishwartravel/public_html/wp-includes/class-wp-hook.php(324): Forminator_Front_Action->save_entry(”) 10 /home/ishwartravel/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 11 /home/ishwartravel/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 12 /home/ishwartravel/public_html/wp-admin/admin-ajax.php(207): do_action(‘wp_ajax_nopriv_…’) 13 {main}

    thrown in /home/ishwartravel/public_html/wp-includes/PHPMailer/PHPMailer.php on line 880

    Hi @romyms

    Can you share the debug log once more, but this time on Google Drive? It seems errors related to Forminator are cut, and we are unable to fully read them.

    Kind Regards,
    Kris

    Thread Starter romyms

    (@romyms)

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @romyms

    I am afraid the folder is not public

    “You need access
    Request access, or switch to an account with access. Learn more”

    But based on

    “] PHP Fatal error: Uncaught Error: Call to undefined function PHPMailer\PHPMailer\mail() in /home/ishwartravel/public_html/wp-includes/PHPMailer/PHPMailer.php:880”

    The problem is related to hosting / PHP mail, Forminator will use the native wp_mail() function which uses the PHP mail(), in case that isn’t working the form will have issues on submitting.

    To validate that, we can try to configure a SMTP plugin which bypasses the PHP mail(), you can use for example Branda > SMTP https://ww.wp.xz.cn/plugins/branda-white-labeling/ with Free Gmail https://wpmudev.com/docs/wpmu-dev-plugins/branda/#gmail

    Let us know the result you get.
    Best Regards
    Patrick Freitas

    Thread Starter romyms

    (@romyms)

    https://drive.google.com/file/d/1qD06ry3bplr5iqaamTXvdNuJ4ggD3B6v/view?usp=drive_link

    made this file accessible to everyone. please check and let me know what can be done. I do not want to go through the smtp route.

    Regards,

    Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hello @romyms

    Thanks for the information. It’s possible that the reason why the forms are failing to submit is due to problems with the PHPMailer() function that is used to send emails from your site. Forms, by default, are configured to send an email to the administrator of the site with the submission data.

    Forminator relies on the WordPress configuration in order to send emails. Please check if you have any plugin or tool that has been used to configure how your site sends emails. If you haven’t done this configuration, however, then I suggest you to use a SMTP plugin:
    https://ww.wp.xz.cn/plugins/tags/smtp/

    Or the Branda plugin in order to configure the SMTP of your site. This way, when you submit a form, Forminator will instruct WordPress to use the SMTP credentials to connect to a real email account, and use it to send the email.

    Alternatively, you can also edit the form, and remove the Email Notification profile; just go to the Email Notification section of the form editor page.

    Kind regards,
    Jair.

    Hi @romyms

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind Regards,
    Kris

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘An error occurred while processing the form. Please try again’ is closed to new replies.