Overview of the Issue
In some scenarios, when you add a dropdown language switcher, you will find this error in the browser console:
Source map error: Error: request failed with status 404Resource URL: …/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-dropdown/script.min.js?ver=1
Source Map URL: script.min.js.map
Workaround
This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.
You can temporarily ignore this error, this file is only requested when you open the dev tools, so there will no 404 errors and the loading time for visitors and bots won’t be impacted. You can read more about it here (opens in a new tab) or here (opens in a new tab).
This error is already reported to our developers and it will be fixed in the future versions of WPML.
Still Seeing This Issue?
If updating doesn’t fix it, ask a support question and we’ll look into it with you.
Ask a support question