• Resolved alexhun01

    (@alexhun01)


    Hi! You have a problem with the form not sending the message. The send button is grayed out and the text “send” appears with the loading wheel, but then it returns to its default position. The input fields are not updated and the “Thank you” notification is not displayed either.

    WP Mail SMTP is installed and everything is set correctly according to the hosting provider. No SPF or DKIM authentication issues. If I send a test email from WP Mail SMTP, it is sent and received without error.

    Mail goes out from the cPanel WebMail mailbox without any problems, but from WPForm Lite, they don’t get there either, and there are no incoming messages either.

    I tried clearing the cache and sending messages from another browser, but it doesn’t work from there either.

    What could be the problem?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Amjad Ali

    (@amjadali688)

    Hi @alexhun01 ,

    On checking your form, I can see WPForms AJAX submit error and a 500 Internal Server Error, as you can see in this screenshot: https://a.supportally.com/i/YzZEXF.

    It looks like the 500 error is caused by a fatal error when the admin-ajax request is triggered. To help pinpoint the exact source of the conflict, you can enable PHP debugging and error logging to get more details.

    Here’s a step-by-step guide on how to enable debugging and error logging:

    Access your wp-config.php file:

    You can access this file via FTP or through your hosting control panel’s file manager.
    Enable Debugging:

    Add the following code to your wp-config.php file, just above / That’s all, stop editing! Happy blogging. /:

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


    Check the Debug Log:

    After enabling debugging, try submitting the form again. Any errors or warnings will be logged in the wp-content/debug.log file.

    You can access this log by navigating to wp-content/debug.log and reviewing the logged error details.
    This will help you see the stack trace of the error, and we’ll be able to identify which plugin or script is causing the issue.

    Once you’ve done this, feel free to share any error details from the log, and we’ll continue troubleshooting with you to resolve the conflict.

    Let us know how it goes, and we’re here to help!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @alexhun01,

    We haven’t heard back from you in a few days, 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!

    Thread Starter alexhun01

    (@alexhun01)

    Hi, Merry Christmas! ?? Thank you for your help so far. I put the php code in the wp-config.php file and this error message appeared in the debug.log:

    [27-Dec-2024 15:19:50 UTC] PHP Fatal error: Uncaught Error: Class “DOMDocument” not found in /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/vendor_prefixed/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php:92 Stack trace: #0 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/vendor_prefixed/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php(33): WPForms\Vendor\TijsVerkoyen\CssToInlineStyles\CssToInlineStyles->createDomDocumentFromHtml() #1 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/src/Emails/Styler.php(113): WPForms\Vendor\TijsVerkoyen\CssToInlineStyles\CssToInlineStyles->convert() #2 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/src/Emails/Styler.php(131): WPForms\Emails\Styler->process_markup() #3 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/src/Emails/Templates/General.php(417): WPForms\Emails\Styler->get() #4 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/src/Emails/Templates/General.php(447): WPForms\Emails\Templates\General->save_styled() #5 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/src/Emails/Templates/General.php(461): WPForms\Emails\Templates\General->build() #6 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/src/Emails/Notifications.php(320): WPForms\Emails\Templates\General->get() #7 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/src/Emails/Notifications.php(234): WPForms\Emails\Notifications->process_email_template() #8 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/includes/class-process.php(1724): WPForms\Emails\Notifications->send() #9 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/includes/class-process.php(606): WPForms_Process->entry_email() #10 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/includes/class-process.php(137): WPForms_Process->process() #11 /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/includes/class-process.php(1862): WPForms_Process->listen() #12 /home/budapest4/public_html/budapestisminkiskola.com/wp-includes/class-wp-hook.php(324): WPForms_Process->ajax_submit() #13 /home/budapest4/public_html/budapestisminkiskola.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /home/budapest4/public_html/budapestisminkiskola.com/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /home/budapest4/public_html/budapestisminkiskola.com/wp-admin/admin-ajax.php(207): do_action() #16 {main} thrown in /home/budapest4/public_html/budapestisminkiskola.com/wp-content/plugins/wpforms-lite/vendor_prefixed/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php on line 92

    Thank you for help!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @alexhun01,

    Thanks for sharing the log!

    This issue is often caused by the site missing the PHP DOM extension. To resolve it, please contact your web host and request them to enable the PHP DOM extension on your server.

    Once this is done, you should be able to submit your form without any issues.

    I hope this helps! Let me know if you have any further questions.

    Thread Starter alexhun01

    (@alexhun01)


    Thank you for your help. I report the error to the hosting provider.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @alexhun01,

    Thanks for letting me know!

    I hope your hosting provider has installed the PHP DOM extension and that your form is now working as expected.

    If you need any further assistance with WPForms Lite, please don’t hesitate to reach out.

    Thanks!

    Thread Starter alexhun01

    (@alexhun01)

    Hi Ralden!

    The hosting provider turned on the extension and as a result, WPForms works fine. An internal redirection error was mentioned, but both instant messages and redirection to a page work fine based on tests. I don’t see a malfunction now.

    Thanks for your help and happy new year!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @alexhun01,

    Great to hear that your hosting provider enabled the extension and your forms are working fine.

    If you need any further assistance with WPForms Lite, please feel welcome to reach out.

    Happy New Year!

    justanothertechbro

    (@justanothertechbro)

    @alexhun01

    are you by chance using godaddy

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @justanothertechbro,

    If you’re experiencing a similar issue, I recommend contacting your hosting provider. They can install the necessary PHP modules for you or provide guidance on how to install them yourself, if that’s an option.

    I hope this helps! If you need further assistance with WPForms Lite, feel free to reach out.

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