Error: Call to a member function getLocale() on null (1)
$Locale = \Concrete\Core\Multilingual\Page\Section\Section::getCurrentSection();
The language is displayed correctly, but there is an error in the log:
Exception Occurred: /elements/footer.php Call to a member function getLocale() on null (1)
Can you tell me where I make a mistake when everything is displayed correctly?
Version Concrete 5.4.4
I little speak english
You can find the code for getting active locale here: