Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/es/www/master/app/helpers/Language.php:85
Stack trace:
#0 /srv/es/www/master/app/controllers/ControllerBase.php(185): Helpers\Language::getLangFromSessionOrUrl()
#1 [internal function]: ControllerBase->onConstruct()
#2 [internal function]: Phalcon\Mvc\Controller->__construct()
#3 [internal function]: Phalcon\Di\Di->get()
#4 [internal function]: Phalcon\Di\Di->getShared()
#5 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#6 /srv/es/www/020592/html/public/index.php(48): Phalcon\Mvc\Application->handle()
#7 {main}
thrown in /srv/es/www/master/app/helpers/Language.php on line 85