Title: Fatal error after update
Last modified: February 16, 2018

---

# Fatal error after update

 *  Resolved [michemedia](https://wordpress.org/support/users/michemedia/)
 * (@michemedia)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-after-update-75/)
 * Hi,
    I’ve recently updated my WordPress for my website as well as all the WooCommerce
   plugins. My site was having an error before, but now is functioning okay. I updated
   this plugin but I’m getting a fatal error. This is the message I get…
 * Plugin could not be activated because it triggered a **fatal error**.
 * **Fatal error:** Class ‘WPML_Cookie’ not found in **/home/WEBSITE/public_html/
   wp-content/plugins/woocommerce-multilingual/wpml-woocommerce.php** on line **
   43**
 * Please let me know how I can rectify this problem. Thank you!

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

 *  [George Botsev](https://wordpress.org/support/users/botzev/)
 * (@botzev)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-after-update-75/#post-9980722)
 * Hello!
    Please make sure that you are using the latest WPML version. WPML_Cookie
   class is part of the main WPML plugin and the current version is 3.9.3 I suspect
   that you might be using very old version of WPML, which does not have the class
   WPML_Cookie.
 *  [mati86](https://wordpress.org/support/users/mati86/)
 * (@mati86)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-update-75/#post-10538264)
 * Hello,
 * I just tried to deactive the woocommerce plugin and reactive the latest plugin
   and I get this message:-
 * Fatal error: Cannot declare class Dokan_Category_Walker, because the name is 
   already in use in /home/domains/vol2/872/1946872/user/htdocs/wp-content/plugins/
   dokan-lite/includes/widgets/menu-category.php on line 0
 * I am using WordPress 4.9.7
 * The site is down at the moment. Please can you help.
 * Thanks
 *  [George Botsev](https://wordpress.org/support/users/botzev/)
 * (@botzev)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-update-75/#post-10538990)
 * Hello [@mati86](https://wordpress.org/support/users/mati86/),
    The error message
   indicates that a plugin in your site – Dokan Lite – tried to register a class
   that he uses.
 * That error message is in no way related to our plugin. Perhaps you will want 
   to contact the other plugin developers.
 * As a workaround, I would suggest you try and activate that plugin in a minimal
   plugin setup and with a default theme like Storefront or TwentySeventeen, as 
   it is possible that you have other plugins that declare that class previously
   or custom configuration in your theme that does that.
 * Having taken a look at the plugin Dokan Lite – in the file /dokan-lite/includes/
   widgets/menu-category.php – I can see that the class is declared on line 6, and
   line 0 – as specified in your error message looks strange. Perhaps you might 
   want to get a fresh copy of that plugin and update it.

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

The topic ‘Fatal error after update’ 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/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 3 replies
 * 3 participants
 * Last reply from: [George Botsev](https://wordpress.org/support/users/botzev/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-after-update-75/#post-10538990)
 * Status: resolved