Before migrating the server, this issue did not occur, but after the migration, the following problem has arisen. How can I resolve this?
Where do you define $language?