Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Kernel/Account/Classes/Work.php:224
Stack trace:
#0 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Kernel/Account/Classes/Work.php(224): count(NULL)
#1 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Kernel/Account/Classes/Work.php(60): App\Kernel\Account\Classes\Work->assigmentWorkplaces()
#2 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Kernel/Account/Website/AccountApp.php(114): App\Kernel\Account\Classes\Work->all()
#3 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Triggers/Website/Press.php(76): App\Kernel\Account\Website\AccountApp->work()
#4 [internal function]: App\Triggers\Website\Press->post(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#5 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#6 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/Route.php(325): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#7 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Middlewares/Router/AllowMiddleware.php(39): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#8 [internal function]: App\Middlewares\Router\AllowMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#9 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(App\Middlewares\Router\AllowMiddleware), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\Route))
#10 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(114): Slim\Route->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#11 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/Route.php(297): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#12 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/App.php(433): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#13 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/adbario/slim-secure-session-middleware/src/SessionMiddleware.php(78): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#14 [internal function]: Adbar\SessionMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#15 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(Adbar\SessionMiddleware), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#16 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/adbario/slim-csrf/src/Csrf.php(105): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#17 [internal function]: Adbar\Slim\Csrf->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#18 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(Adbar\Slim\Csrf), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#19 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/adbario/slim-secure-session-middleware/src/SessionMiddleware.php(78): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#20 [internal function]: Adbar\SessionMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#21 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(Adbar\SessionMiddleware), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#22 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Middlewares/ValidationErrorsMiddleware.php(33): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#23 [internal function]: App\Middlewares\ValidationErrorsMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#24 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(App\Middlewares\ValidationErrorsMiddleware), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#25 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Middlewares/PostFormMiddleware.php(33): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#26 [internal function]: App\Middlewares\PostFormMiddleware->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#27 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(App\Middlewares\PostFormMiddleware), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#28 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/bootstrap/__init__/router/init.php(51): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#29 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#30 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(67): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Closure))
#31 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(114): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#32 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/vendor/slim/slim/Slim/App.php(315): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#33 /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/public/index.php(24): Slim\App->run()
#34 {main}
thrown in /data/f/7/f770d9e7-2f4e-43a5-aa18-e9b3c3127bd3/domvstrani.sk/web/app/Kernel/Account/Classes/Work.php on line 224