Cannot enter O2/latest via tmux

Dear experts,

We cannot enter the O2 env when executing:

alibuild/alienv enter O2/latest

in tmux tab. It dumps errors like this:

Currently Loaded Modulefiles:
ModuleCmd_List.c(146):FATAL:996: The environment variables LOADEDMODULES and LMFILES have inconsistent lengths.

But in terminal, it works fine.

The issue occurred today on some of ITS flps (e.g. flpits6, 7, 8 and 1). It worked well before.

Any idea on that? Thanks a lot for your help.