Title: undefined function wpml_prepare_in()
Last modified: July 25, 2020

---

# undefined function wpml_prepare_in()

 *  [cschuller](https://wordpress.org/support/users/cschuller/)
 * (@cschuller)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/undefined-function-wpml_prepare_in/)
 * Hi,
 * I’ve installed the plugin on a clientsite. We use Polylang and haven’t installed
   the WPML plugin. After activatin the plugin we cannot create any pages and the
   error log will write following entry:
 * CRITICAL Uncaught Error: Call to undefined function wpml_prepare_in() in ……/wp-
   content/plugins/themify-wc-product-filter/includes/class-wpf-utils.php:423
 * Line 423 contains:
 * AND t.language_code IN (” . wpml_prepare_in( array_keys( $sitepress->get_active_languages())).“)
 * wpml_prepare_in -> is a function from WPML. Is there any solution to use the 
   plugin without WPML in a multilanguage environment?
 * Thanks for your help.
 * Chris

Viewing 1 replies (of 1 total)

 *  Plugin Author [themifyme](https://wordpress.org/support/users/themifyme/)
 * (@themifyme)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/undefined-function-wpml_prepare_in/#post-13172671)
 * Hi Chris,
 * Themify Product Filter should work with or without WPML.
 * All these demos don’t have WPML activated:
    – [https://themify.me/demo/themes/shoppe/shop](https://themify.me/demo/themes/shoppe/shop)–
   [https://themify.me/demo/themes/wc-product-filter/](https://themify.me/demo/themes/wc-product-filter/)–
   [https://themify.me/demo/themes/divi-filter/](https://themify.me/demo/themes/divi-filter/)
 * Try to delete the plugin and reinstall it. And also try to temporarily disable
   all other plugins except WooCommerce when installing it.

Viewing 1 replies (of 1 total)

The topic ‘undefined function wpml_prepare_in()’ is closed to new replies.

 * ![](https://ps.w.org/themify-wc-product-filter/assets/icon-128x128.png?rev=1535808)
 * [Themify - WooCommerce Product Filter](https://wordpress.org/plugins/themify-wc-product-filter/)
 * [Support Threads](https://wordpress.org/support/plugin/themify-wc-product-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/themify-wc-product-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/themify-wc-product-filter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [themifyme](https://wordpress.org/support/users/themifyme/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/undefined-function-wpml_prepare_in/#post-13172671)
 * Status: not resolved