• Resolved eventfive

    (@eventfive)


    Issue:
    In the current release (v1.0.1.3) of the “Send PDF for Contact Form 7” plugin, a bug has been identified in the php method wpcf7_add_footer() within the cf7_sendpdf class (classes/send-pdf.php).

    Bug Description:
    The bug manifests when the function WPCF7_ContactForm::get_current() returns null. Specifically, the opening script-tag is missing, while the closing tag is consistently outputted.

    Fix Suggestion:
    To rectify this issue, ensure that the opening script-tag is included when WPCF7_ContactForm::get_current() returns null.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Gebrüder Holz

    (@gebuederholz)

    We also have this issue. We have this Code at the bottom of the page except the form page.

    document.addEventListener( ‘wpcf7submit’, function( event ) { var reference = Date.now().toString(36) + Math.floor(Math.pow(10, 12) + Math.random() * 9*Math.pow(10, 12)).toString(36); jQuery(‘input[name=”wpcf7cfpdf_hidden_reference”]’).val(reference); }, false );

    What can we do to (temporaly) fix the issue?

    https://solawi-lenzwald.org/

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    Can you testing with the last version?

    Thanks

    Plugin Author Florent Maillefaud

    (@florent73)

    Hi!

    This bug is now fixed in the lastest versions.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Missing opening script-tag’ is closed to new replies.