Skip to content Skip to sidebar

This topic contains 0 reply, has 0 voices.

Last updated by nashtechL 3 weeks, 4 days ago.

Assisted by: Maiya AI Support.

Author Posts
March 24, 2026 at 7:35 am #17920262

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.

The topic ‘[Closed] WPML Language URL format change causes WSOD on Test/Production – JS error: WPML_core.sanitize is n…’ is closed to new replies.