Title: fatal error while activating
Last modified: March 12, 2017

---

# fatal error while activating

 *  Resolved [ma7moud](https://wordpress.org/support/users/ma7moud/)
 * (@ma7moud)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-5/)
 * hello
    i recently started a new wordpress website and installed a theme that 
   supports wpml every time i try to active WooCommerce Multilingual i get this 
   error ** Fatal error: Class ‘WPML_File’ not found in ..\wp-content\plugins\woocommerce-
   multilingual\inc\currencies\currency-switcher\class-wcml-currency-switcher-templates.
   php on line 31
 * i also tried all methods of installments
    i am using localhost and i already 
   have :
 * PHP ver 5.6.30
    WPML Translation Management 2.2.1.2 WPML String Translation 2.3.9
   WPML Multilingual CMS 3.5.0 WPML Media 2.1.22 WooCommerce 2.6.14
 * thanks

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

 *  [George Botsev](https://wordpress.org/support/users/botzev/)
 * (@botzev)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-5/#post-8906311)
 * Hello,
    You are using WPML 3.5.0, however the class WPML_File was introduced 
   in WPML 3.6.0 and above. Please make sure that you are using that version and
   if not – please update.
 *  Thread Starter [ma7moud](https://wordpress.org/support/users/ma7moud/)
 * (@ma7moud)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-5/#post-8907148)
 * thank you very much it’s working fine

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

The topic ‘fatal error while activating’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-multilingual/assets/icon-256x256.png?rev=2937122)
 * [WPML Multilingual & Multicurrency for WooCommerce](https://wordpress.org/plugins/woocommerce-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-multilingual/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ma7moud](https://wordpress.org/support/users/ma7moud/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-5/#post-8907148)
 * Status: resolved