I’m Skyler, new here and still learning CMS Made Simple. I’ve been building a small site with multilingual support, and after about a month of experimenting, I ran into a really strange issue.
I’m using CMSMS 2.2.20 with the LISE module for a custom “Projects” section. The site has English and French using the CMSMS built-in language tags. Everything works fine at first, but once I enable browser caching in the admin settings, my custom LISE templates randomly switch languages — sometimes the English menu loads on a French page, or the LISE items appear untranslated. If I clear cache manually, it works again for a while, but then the mismatch returns. Debug mode shows no fatal errors, but I do see a lot of repeated warnings like:
Code: Select all
Smarty error: [in module_db_tpl:LISE::Projects::default] undefined index: lang
I can’t tell if this is a bug in LISE, a misconfiguration in how I set up the language tags, or some kind of Smarty variable conflict when cache is enabled.
Has anyone else seen multilingual + caching behave like this?
Would love to know if there’s a known workaround, or if I need to rethink how I structured the templates.