• Gentlemen of CONTACT FORM 7.

    Please check the new version 5.7, it generates fatal errors and breaks all forms! As I see in several users are having the same problem.

    At the moment I returned to version 5.6.4

    We hope for a quick solution, thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there!
    I’ve the same problem! The fields haves a lot of space and this happens because every line of module is printend on the frontend into a paragraph <p>.

    Broken form: https://snipboard.io/Xcrsu1.jpg

    Temporary solution: https://snipboard.io/ehMJKs.jpg

    Please update 🙂
    Thank’s`

    Thread Starter capidi89

    (@capidi89)

    Thanks.

    I will update it in hours where the traffic of my site is not high and it does not affect the users who use the forms.

    I’ll update it and let you know how it goes.

    Greetings.

    Same issue here with the changed parsing of form definitions with the addition of <p> tags that are breaking layouts/etc.

    Please let us know if a fix is pending so that we can decide on the best course of action for addressing this ASAP.

    Adding following command to wp-config.php is quick fix
    It removes all extra spacing though – so you might need some manual break <br> tags

    define( ‘WPCF7_AUTOP’, false );

    Solution for the form:

    wp_config.php: define('WPCF7_AUTOP',false);
    functions.php: add_filter('wpcf7_autop_or_not','__return_false');

    Provisional solution for the HTML mail:
    in line 93 the /wp-content/plugins/contact-form-7/includes/mail.php

    $html = $header.wpcf7_autop($body).$footer;
    CHANGE TO
    $html = $header.$body.$footer;

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

The topic ‘Version 5.7 Broke all the forms!’ is closed to new replies.