• Resolved silvanet

    (@silvanet)


    I had to restore my site from Blue host server backup. Their tech support reported on ly one error in the restoration process. This was the message:

    " [10-Apr-2022 23:06:07 UTC] PHP Fatal error: Uncaught Error: Call to
    undefined function wpcf7_include_module_file() in
    /home3/transah7/public_html/wp-content/plugins/contact-form-7/modules/constant-contact/constant-contact.php:8
    
    Rest assured, I have disabled the plugins contact-form-7."

    The site is working well except for the contact-form-7 forms are of course not working. Instead of where the forms should be, I see something like for example this one:
    [contact-form-7 id=”2111″ title=”Contact Form”]
    which is our main contact form.

    Can you suggest how to approach fixing this so the form(s) work again? I don’t want to risk causing a fatal crash if I re-enable the plugin.

    BTW, at one point in the past I had upgrade php from 7.3 to 8.0. The site had been working with that, but when I was recently updating some plugins the site crashed. I don’t know which exactly because I wasn’t updating them one at a time. That was my mistake.

    The site was based on a theme template I bought three years ago. It had worked fine, but someone told me I should not use the main theme, but rather a child. I tried to get some help on that, but the authors didn’t offer a child theme. All I could find was a general explanation that I didn’t have enough knowledge to understand to create a child theme myself.

    Elementor Pro was what I used to edit and build my site. I would up excluding almost all the template’s features in the end, but am still concerned about if the theme authors upgrade in a way that may crash my site.

    I guess there are really two issues for me, but my immediate one is getting my contact-form-7 forms working again. Please help.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter silvanet

    (@silvanet)

    The site was built on the Tryo theme. The plugins are: Elementor Core and Pro plugins, page scroll to id, advanced custom fields (ACF), ACF pro, and Tryo-toolkit. As mentioned, contact-form-7 is currently deactivated because of that error message Bluehost saw when doing the backup restoration.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all plugins excluding Contact Form 7.

    Why you are advised to deactivate plugins and switch to the default theme.

    Thread Starter silvanet

    (@silvanet)

    Thanks. CF7 is now working and the forms are back, but there was an error reported on one of them in the Mail tab. I’m not sure why, but it was sending a possible 3 mail attachments limited to 25MB each. I know Gmail for example limits the total attachments size to under 25MB. In the Form tab I had set each attachment to a 25MB limit. I just set one limit but I’m not sure that will allow the user to attach more than one file.

    There was a red circle with an white exclamation point inside it on the Dashboard Contact menu item and inside that beneath it on one of the forms. On opening Edit, I saw the same red icon on the Mail tab. When I saved the changes I just mentioned, the red icon disappeared from the form’s Mail tab and from the form, but it remains on the Dashboard “Contact” and “Contact forms” items. No matter what I do, it persists and does not go away.

    But except for that, your plugin is working again and the forms are working. Do you have any tip on how to set the file size limit and still allow multiple file attachments?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Restored site contact-form-7 fatal error report’ is closed to new replies.