• Resolved iperez_genius

    (@iperez_genius)


    When I submit my basic contact form I receive a “critical error has occurred on your site”.

    In the developer window I can see that its returning a 500 Error.

    Any idea what the cause might be,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @iperez_genius,

    Thanks for reaching out! And I’m sorry to hear about the error.

    When you get a chance, could you please share the URL to access your form? This way, I can investigate the issue.

    In case it helps, I recommend checking if you’re using the latest version of WPForms. Besides adding new features and enhancements, plugin updates also fix known issues.

    And WPBeginner has a guide on how to fix the critical error in WordPress here.

    Thanks!

    Thread Starter iperez_genius

    (@iperez_genius)

    if you submit the this contact form you will see the issue

    https://learn.pyramidanalytics.com/contact

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @iperez_genius,

    Thanks for the information!

    I could reproduce the issue after submitting your form.

    When you get a chance, could you please enable debugging in WordPress and share the errors reported there? In case it helps, we have a guide here with details on how to do this.

    Also, please share the details from WPForms > Tools > System Info (screenshot).

    I recommend adding all this information to a link, which you can delete later (after we get it), since all the information on this topic is public. For example, you could add the details to a Google Docs, share the link here, and delete after we have saved the details.

    With those details, we will be able to investigate the issue.

    Thanks!

    Thread Starter iperez_genius

    (@iperez_genius)

    Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /var/www/html/wp-content/plugins/wpforms-lite/vendor_prefixed/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php:92 Stack trace: #0 /var/www/html/wp-content/plugins/wpforms-lite/vendor_prefixed/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php(33): WPForms\Vendor\TijsVerkoyen\CssToInlineStyles\CssToInlineStyles->createDomDocumentFromHtml() #1 /var/www/html/wp-content/plugins/wpforms-lite/src/Emails/Styler.php(113): WPForms\Vendor\TijsVerkoyen\CssToInlineStyles\CssToInlineStyles->convert() #2 /var/www/html/wp-content/plugins/wpforms-lite/src/Emails/Styler.php(131): WPForms\Emails\Styler->process_markup() #3 /var/www/html/wp-content/plugins/wpforms-lite/src/Emails/Templates/General.php(417): WPForms\Emails\Styler->get() #4 /var/www/html/wp-content/plugins/wpforms-lite/src/Emails/Templates/General.php(447): WPForms\Emails\Templates\General->save_styled() #5 /var/www/html/wp-content/plugins/wpforms-lite/src/Emails/Templates/General.php(461): WPFo in /var/www/html/wp-content/plugins/wpforms-lite/vendor_prefixed/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php on line 92

    Thread Starter iperez_genius

    (@iperez_genius)

    I can confirm that DOM is installed and running in php.

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @iperez_genius,

    Thank you for sharing those details!

    The issue might be due to the fact that the /wp-content/plugins/wpforms/vendor_prefixed/ directory is empty, and it should contain some third-party libraries, such as /tijsverkoyen/.

    When you get a chance, could you please re-upload the entire WPForms Lite plugin? This should resolve the issue.

    Thanks!

    Plugin Support Ralden Souza

    (@rsouzaam)

    Hi @iperez_genius,

    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!

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

The topic ‘Basic Form Cause critical Error’ is closed to new replies.