Title: LiteSpeedCache = wpcf7.initForm is not a function
Last modified: July 31, 2020

---

# LiteSpeedCache = wpcf7.initForm is not a function

 *  Resolved [jimcin](https://wordpress.org/support/users/jimcin/)
 * (@jimcin)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/litespeedcache-wpcf7-initform-is-not-a-function/)
 * Hi,
 * after installing Litespeed cache plugin on my website (i have an openlitespeed
   server), my pages where a form is present, are broken !
 * Error in the console: wpcf7.initForm is not a function
 * On the first load, the page is broken, and I see the error. If I refresh the 
   page, everything is working fine.
    Then I click on a link to another page with
   a form, and the destination page will be broken. if I hit refresh, the page will
   load correctly.
 * I don’t want to try this fix [https://bensinger.me/contact-form-7-fixing-wpcf7-initform-not-function-error/](https://bensinger.me/contact-form-7-fixing-wpcf7-initform-not-function-error/)
   
   until the plugin author says something !
 * thanks

The topic ‘LiteSpeedCache = wpcf7.initForm is not a function’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [jimcin](https://wordpress.org/support/users/jimcin/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/litespeedcache-wpcf7-initform-is-not-a-function/)
 * Status: resolved