Support » Plugin: PDF Forms Filler for Contact Form 7 » Since Contact Form Version 5.4 bug…

  • Resolved jeromeammouial

    (@jeromeammouial)


    Hi,

    i just updated Contact form 7 in 5.4 and it doesn’t work anymore. The pdf is not generated.

    It turns, turns and nothing …

    Update or bug of PDF Forms Filler for Contact Form 7 Search for

    Sorry for my english, i m french.

    Thank you

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author maximum.software

    (@maximumsoftware)

    Hi,

    What are the versions of your:
    1. WordPress (5.4?)
    2. Contact Form 7
    3. PDF Forms Filler for Contact Form 7
    4. PHP

    Thanks.

    Thread Starter jeromeammouial

    (@jeromeammouial)

    Hi,
    i downgraded to contact form 5.3.2 and it ‘s ok.

    So :
    Wordpress : 5.6.2
    Contact form 7 : 5.3.2 = ok and 5.4 : not ok
    PDF FORM FILLER (in french : PDF Formulaires de remplissage pour Formulaire de contact 7) : 1.3.3
    PHP : PHP 7.4 + MySQL 5.7

    Thank you 🙂

    Plugin Author maximum.software

    (@maximumsoftware)

    I can reproduce the problem:

    PHP Fatal error:  Uncaught Error: Call to private method WPCF7_Submission::add_uploaded_file() from context 'WPCF7_Pdf_Forms' in /var/www/html/wp-content/plugins/pdf-forms-for-contact-form-7/pdf-forms-for-contact-form-7.php:968
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(287): WPCF7_Pdf_Forms->fill_and_attach_pdfs(Object(WPCF7_ContactForm), false, Object(WPCF7_Submission))
    #1 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #2 /var/www/html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
    #3 /var/www/html/wp-content/plugins/contact-form-7/includes/submission.php(457): do_action_ref_array('wpcf7_before_se...', Array)
    #4 /var/www/html/wp-content/plugins/contact-form-7/includes/submission.php(80): WPCF7_Submission->before_send_mail()
    #5 /var/www/html/wp-content/plugins/contact-form-7/includes/submission.php(24): WPCF7_Submission->proceed()
    #6 /var/www/html/wp-content/plugins/contact-form-7/includes/contact-form.php(763): WPCF7_Submission::get_instance(Object(WPCF7_Contact in /var/www/html/wp-content/plugins/pdf-forms-for-contact-form-7/pdf-forms-for-contact-form-7.php on line 968

    Please downgrade to the previous version of Contact Form 7. I will try to come up with a fix as soon as possible.

    Thread Starter jeromeammouial

    (@jeromeammouial)

    Ok thank you !

    Am I the only one who noticed this?

    Good night

    Plugin Author maximum.software

    (@maximumsoftware)

    The Contact Form 7 update was just published a few hours ago.

    Unfortunately, I didn’t see the post by Takayuki Miyoshi (Contact Form 7 developer) with details on the update:

    https://contactform7.com/2021/02/02/contact-form-7-54-beta/#improved-process-for-uploaded-files

    This change breaks some code in my plugin. I will need to rewrite it to use the new method of attaching files to messages and handling uploaded files.

    Thread Starter jeromeammouial

    (@jeromeammouial)

    haaaa. Ok 🙂

    So good luck !

    Hello I get an error after upgrading contact form 7 to 5.4
    “An error occurred while processing a PDF: file type unknown of is unsupported for image embedding.”

    I can confirm Reverting to version CF7 5.3.2 fixed the issue.

    Exact same problem here. @maximumsoftware any idea on an expected release date for a fix? I’m going to have to go back to an older version of CF7 until one is released.

    Thread Starter jeromeammouial

    (@jeromeammouial)

    Hi,

    i found this plug in to go back :

    WP Rollback

    It s extraordinary.

    2 clics and it s good !

    Good night

    Jet

    Plugin Author maximum.software

    (@maximumsoftware)

    I’m working on a fix, however, I haven’t gotten it to work yet. I’ll post here when I have something.

    Thread Starter jeromeammouial

    (@jeromeammouial)

    Hi,

    I’m sorry but there are two issues now :

    The link at the bottom of the page is no longer a link, but we must copy / paste the address.

    The PDF document is no longer sent as an attachment to the site owner by email. The received email has only text without the PDF.

    Sorry for that..

    if i go back to 5.3.2 it s good 🙂

    Jet

    Plugin Author maximum.software

    (@maximumsoftware)

    That’s right, the new version of the plugin (1.3.5) only fixed the crash that occurs with CF7 v5.4 and one other issue. I did see that there is an issue with the download link. The PDF attachments to email messages still don’t work if you have CF7 v5.4. We are working on fixes.

    just wanted to thank you for your efforts and appreciate how responsive you are. Not the norm with others. Looking forward to the update when it’s ready.

    Plugin Author maximum.software

    (@maximumsoftware)

    Hi,

    I’ve implemented a fix to allow for CF7 v5.4 support for PDF email attachment.

    You can download and try it out at the following URL:
    https://github.com/maximum-software/pdf-forms-for-contact-form-7/archive/b61fa0b1e9ea54ffccd2e8d2771e63cf147ba7ea.zip

    I request users do some testing and let me know if there are any issues.

    Thanks.

    Plugin Author maximum.software

    (@maximumsoftware)

    I’ve deployed a new version. Let me know if you guys have any issues with it.

    There is just one more issue left to fix with CF7 v5.4 support. It is with the download link in submission response message. It shows up as text only right now. I will get that fixed once I come up with an effective solution.

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