• Resolved mwhitney9

    (@mwhitney9)


    Hello,

    I’m experiencing a conflicting error when utilizing the cf7 grid layout plugin with the Contact Form 7 Extension For Mailchimp plugin. I’m wondering if you can look into this as I would still like to utilize both plugins at the same time.

    Current version of CF7 Grid Layout is: 4.11.3
    Current version of Contact Form 7 Extension For Mailchimp is: 0.5.48

    Error message when CF7 Grid layout is enabled:
    *3182966 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function field_name() on string in /var/www/web/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:1492

    I appreciate any help and support you can provide for patching this. We love the CF7 Grid Layout plugin but with this issue we have to deactivate the plugin until a fix or workaround is implemented.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Error message when CF7 Grid layout is enabled:
    *3182966 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to a member function field_name() on string in /var/www/web/wp-content/plugins/cf7-grid-layout/public/class-cf7-grid-layout-public.php:1492

    the error is coming from a method being hooked to the CF7 wpcf7_mail_tag_replaced filter which provides the form field tag being replaced in the mail body, this is a WPCF7_MailTag object, but the error your are facing is because this parameter is being passed as a String object instead.

    I therefore assume that the mailChimp plugin is firing the same filter but hasn’t updated its code to the new CF7 filter interface, hence the error. If so the mailchimp is outdated and you ought to request the author to fix this.

    For now I have placed a validation in my code fixing the fatal error (v4.11.4), which means if you are trying to display a table field in your mail body, the code will no longer work as it is expecting a WPCF7_MailTag object but receiving a String instead.

    If you do raise a bug report on the mailchimp plugin, please copy the link to the thread here and I will post a comment for the author to understand what is happening.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    since I have not heard back from you, I am assuming this issue now resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Submission doesnt work when using the CF7 Extension for Mailchimp’ is closed to new replies.