Title: search not working when Litespeed cache plugin enabled
Last modified: April 3, 2020

---

# search not working when Litespeed cache plugin enabled

 *  Resolved [bluefusion](https://wordpress.org/support/users/bluefusion/)
 * (@bluefusion)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/)
 * Using Meta Data and Taxonomies Filter. Have moved to a new server which is a 
   Litespeed server, and it works fine, but enable the Litespeed cache plugin and
   the search stops working.
 * For faster site performance I really wish to utilise the matching Litespeed plugin
   but cannot.
 * Any ideas how to resolve this?

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

 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/#post-12622881)
 * Hello
 * Please drop me exact link to the issue
 *  Thread Starter [bluefusion](https://wordpress.org/support/users/bluefusion/)
 * (@bluefusion)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/#post-12623097)
 * search page is here: [https://www.brightonandhovepsychotherapy.com/practitioners/](https://www.brightonandhovepsychotherapy.com/practitioners/)
 * Litespeed plugin is enabled. If you selection any options then search the page
   just reloads with no results. Disable Litespeed and it search works fine.
 *  Thread Starter [bluefusion](https://wordpress.org/support/users/bluefusion/)
 * (@bluefusion)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/#post-12623598)
 * Found that when Litespeed is enabled there is an error in the developer console:
 * front.js:494 Uncaught TypeError: jQuery(…).life is not a function
    at mdf_init_search_form(
   front.js:494) at HTMLDocument.<anonymous> ((index):458) at i (jquery.js:2) at
   Object.fireWith [as resolveWith] (jquery.js:2) at Function.ready (jquery.js:2)
   at HTMLDocument.J (jquery.js:2) mdf_init_search_form @ front.js:494 (anonymous)@(
   index):458 i @ jquery.js:2 fireWith @ jquery.js:2 ready @ jquery.js:2 J @ jquery.
   js:2
 * but when Litespeed disabled, the error stops.
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/#post-12635317)
 * Hello
 * Do you optimize js files?(Try to exclude front.js )
 *  Thread Starter [bluefusion](https://wordpress.org/support/users/bluefusion/)
 * (@bluefusion)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/#post-12635720)
 * I have fixed the problem earlier today. I had to switch off combine JS files 
   in Litespeed.
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/#post-12645679)
 * Hello
    Great!

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

The topic ‘search not working when Litespeed cache plugin enabled’ is closed to 
new replies.

 * ![](https://ps.w.org/wp-meta-data-filter-and-taxonomy-filter/assets/icon-256x256.
   png?rev=2852943)
 * [MDTF - Meta Data and Taxonomies Filter](https://wordpress.org/plugins/wp-meta-data-filter-and-taxonomy-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-meta-data-filter-and-taxonomy-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-meta-data-filter-and-taxonomy-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-meta-data-filter-and-taxonomy-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-meta-data-filter-and-taxonomy-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-meta-data-filter-and-taxonomy-filter/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)

 * 6 replies
 * 2 participants
 * Last reply from: [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/search-not-working-when-litespeed-cache-plugin-enabled/#post-12645679)
 * Status: resolved