Make sure `$arrLangs` is always an array in the front controller (see #6739)