Title: Error: document.documentElement.className = &#8216;js&#8217;
Last modified: March 26, 2018

---

# Error: document.documentElement.className = ‘js’

 *  [robintalbot](https://wordpress.org/support/users/robintalbot/)
 * (@robintalbot)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-document-documentelement-classname-js/)
 * Hi.
 * I have something weird happening. In my local version (localhost), loco translate
   work’s fine translating Woocommerce. But in my real site, I get this error :
 * Error: document.documentElement.className = ‘js’;. Check console output for debugging
   information
 * I don’t know where to check the console for debugging.
    But I have this error
   only when translating Woocommerce. With other plugins or themes, it’s working
   fine.
 * Any clue on the reason ?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * (@timwhitlock)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-document-documentelement-classname-js/#post-10115584)
 * Please see identical issue:
    [https://wordpress.org/support/topic/error-when-save/](https://wordpress.org/support/topic/error-when-save/)

Viewing 1 replies (of 1 total)

The topic ‘Error: document.documentElement.className = ‘js’’ is closed to new replies.

 * ![](https://ps.w.org/loco-translate/assets/icon-256x256.png?rev=1000676)
 * [Loco Translate](https://wordpress.org/plugins/loco-translate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loco-translate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loco-translate/)
 * [Active Topics](https://wordpress.org/support/plugin/loco-translate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loco-translate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loco-translate/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tim W](https://wordpress.org/support/users/timwhitlock/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/error-document-documentelement-classname-js/#post-10115584)
 * Status: not resolved