Title: Uncaught Error: Call to undefined function wpcf7_include_module_file()
Last modified: November 30, 2021

---

# Uncaught Error: Call to undefined function wpcf7_include_module_file()

 *  [nabaraj chapagain](https://wordpress.org/support/users/nabaraj-chapagain/)
 * (@nabaraj-chapagain)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/)
 * Can you help me sort the issue below:
 * Random people are getting this error below:
 * AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined
   function wpcf7_include_module_file() in /httpdocs/wp-content/plugins/contact-
   form-7/modules/constant-contact/constant-contact.php:3\nStack trace:\n#0 /httpdocs/
   wp-content/plugins/contact-form-7/load.php(84): include_once()\n#1 /httpdocs/
   wp-content/plugins/contact-form-7/load.php(42): WPCF7::load_module()\n#2 /httpdocs/
   wp-content/plugins/contact-form-7/load.php(138): WPCF7::load_modules()\n#3 /httpdocs/
   wp-includes/class-wp-hook.php(301): wpcf7()\n#4 /httpdocs/wp-includes/class-wp-
   hook.php(327): WP_Hook->apply_filters()\n#5 /httpdocs/wp-includes/plugin.php(
   470): WP_Hook->do_action()\n#6 /httpdocs/wp-settings.php(441): do_action()\n#
   7 /httpdocs…’, referer: [https://domain.com/wp-admin/post.php?post=2097&action=edit](https://domain.com/wp-admin/post.php?post=2097&action=edit)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15121065)
 * Where can we see the website in question?
 *  Thread Starter [nabaraj chapagain](https://wordpress.org/support/users/nabaraj-chapagain/)
 * (@nabaraj-chapagain)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15121338)
 * [https://houndsandbounds.com/](https://houndsandbounds.com/)
 * There you go!
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15123674)
 * What other plugins and theme do you use on the site?
 *  Thread Starter [nabaraj chapagain](https://wordpress.org/support/users/nabaraj-chapagain/)
 * (@nabaraj-chapagain)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15126008)
 * Here is a list..
 * [https://www.awesomescreenshot.com/image/17824131?key=4c3f60349206e0f6e31c2cf38e4ebd22](https://www.awesomescreenshot.com/image/17824131?key=4c3f60349206e0f6e31c2cf38e4ebd22)
 * The theme name is DIVI
    -  This reply was modified 4 years, 5 months ago by [nabaraj chapagain](https://wordpress.org/support/users/nabaraj-chapagain/).
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15127848)
 * Try switching to the default theme, deactivating all plugins excluding Contact
   Form 7, Classic Editor, Wordfence Security, WordPress Importer and WP Mail SMTP,
   and clearing all cache data.
 * [Why you are advised to deactivate plugins and switch to the default theme.](https://contactform7.com/2019/12/02/why-you-are-advised-to-deactivate-plugins-and-switch-to-the-default-theme/)
 *  [jimmypowdrellcampbell](https://wordpress.org/support/users/jimmypowdrellcampbell/)
 * (@jimmypowdrellcampbell)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15144661)
 * Hi, I’m getting the same error on a client’s. He doesn’t need Constant Contact
   but he likes Contact Form 7. Could I maybe just edit the code to stop that loading?
 *  [french2webdesign](https://wordpress.org/support/users/french2webdesign/)
 * (@french2webdesign)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15165354)
 * hi,
 * I have the same annoying error here, and on other websites.
    The whole site crashed.
 * Is there a solution ?
 *  [janice4summer](https://wordpress.org/support/users/janice4summer/)
 * (@janice4summer)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15165363)
 * hi,
 * Is there a solutions for this bug ?
 * I have websites who totally stopped working due to this.
 * **Call to undefined function wpcf7_include_module_file**
 * Thanks
 *  [noubba1982](https://wordpress.org/support/users/noubba1982/)
 * (@noubba1982)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15184569)
 * same

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Uncaught Error: Call to undefined function wpcf7_include_module_file()’
is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [noubba1982](https://wordpress.org/support/users/noubba1982/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-wpcf7_include_module_file/#post-15184569)
 * Status: not resolved