Skip to content Skip to sidebar

This topic contains 0 reply, has 0 voices.

Last updated by nashtechL 2 weeks, 3 days ago.

Assisted by: Maiya AI Support.

Author Posts
March 25, 2026 at 8:01 am #17924760

nashtechL

Hello,

We are trying to change the WPML Language URL format from:

“A different domain per language”
to
“Different languages in directories”

Environments:
POC (works): hidden link
Test (issue): hidden link
Production (issue): hidden link

Issue on Test/Prod:
Selecting the option does nothing (no loader, no sub-options appear).
On Save → page reloads → White Screen of Death.
Setting remains unchanged.

Console Error:
Uncaught TypeError: WPML_core.sanitize is not a function

All WPML plugins on sites are up-to-date:
WPML CMS
String Translation
ACF Multilingual
CF7 Multilingual
WPML SEO

Same codebase works on POC but fails on Test/Prod.
Please advise what may cause this JS error and how to resolve it.