Title: count_mapped_fields returning an error
Last modified: May 7, 2026

---

# count_mapped_fields returning an error

 *  [esedic](https://wordpress.org/support/users/esedic/)
 * (@esedic)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/count_mapped_fields-returning-an-error/)
 * WP site build on Bedrock and Sage theme, currently running on localhost (Docker
   container with PHP 8.2.30), I get this error:
    /var/www/html/web/app/plugins/
   contact-form-7-mailchimp-extension/includes/ui/class-cmatic-form-classes.php:
   81
 * Cmatic_Form_Classes::count_mapped_fields(): Argument #1 ($cf7_mch) must be of
   type array, bool given, called in /var/www/html/web/app/plugins/contact-form-
   7-mailchimp-extension/includes/ui/class-cmatic-form-classes.php on line 46

Viewing 1 replies (of 1 total)

 *  Thread Starter [esedic](https://wordpress.org/support/users/esedic/)
 * (@esedic)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/count_mapped_fields-returning-an-error/#post-18901653)
 * PHP Error is returned everywhere where $cf7_mch is initiliazed.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcount_mapped_fields-returning-an-error%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/contact-form-7-mailchimp-extension/assets/icon.svg?rev=3605002)
 * [Connect Contact Form 7 to Mailchimp, Brevo, MailerLite & Klaviyo](https://wordpress.org/plugins/contact-form-7-mailchimp-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-mailchimp-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-mailchimp-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-mailchimp-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-mailchimp-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-mailchimp-extension/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [esedic](https://wordpress.org/support/users/esedic/)
 * Last activity: [3 months, 1 week ago](https://wordpress.org/support/topic/count_mapped_fields-returning-an-error/#post-18901653)
 * Status: not resolved