Error stack

UNCATCHED exception: App\Http\Controllers\HomeController::getSekcie(): Return value must be of type array, null returned
in /www/live/fiit/app/Http/Controllers/HomeController.php:41
Stack trace:
#0 /www/live/fiit/app/Http/Controllers/HomeController.php(19): App\Http\Controllers\HomeController->getSekcie()
#1 /www/live/fiit/app/BladeApp/Templates.php(87): App\Http\Controllers\HomeController->index()
#2 /www/live/fiit/settings/index_logika.php(256): Templates->getController()
#3 /www/live/fiit/public/index.php(7): include('...')
#4 {main}