Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by Richard 2 years, 11 months ago.

Author Posts
September 7, 2017 at 6:54 pm #1364139


I am trying to:

When my homepage loads, I see the following error in the console, and I believe it's preventing other javascript from running (My Instagram feed loader).

30e54.front-page.include-footer.384a05.js:37 Uncaught ReferenceError: icl_vars is not defined
at 30e54.front-page.include-footer.384a05.js:37
(anonymous) @ 30e54.front-page.include-footer.384a05.js:37

Link to a page where the issue can be seen:

hidden link

I expected to see:

No JS error.

Instead, I got:

A JS Error. Broken javascript.

I believe this started with the latest update to WPML, 3.8.0.

September 7, 2017 at 7:24 pm #1364178


I was minifying plugins/sitepress-multilingual-cms/res/js/sitepress.js in previous versions of WPML. I removed it from my W3TC minify configuration to see if that would fix anything. It did. I did not see it included in my HTML source (I was expecting to see it), so I'm not sure what's going on, but I'm considering this fixed.