TypeError Object
(
    [message:protected] => count(): Argument #1 ($value) must be of type Countable|array, null given
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /srv/domain/architectuul.com/app/src/Http/Controllers/ArchitectureController.php
    [line:protected] => 84
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /srv/domain/architectuul.com/app/src/Http/Controllers/ArchitectureController.php
                    [line] => 84
                    [function] => count
                )

            [1] => Array
                (
                    [function] => detail
                    [class] => Atuul\Http\Controllers\ArchitectureController
                    [type] => ->
                )

            [2] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php
                    [line] => 40
                    [function] => call_user_func
                )

            [3] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/Route.php
                    [line] => 281
                    [function] => __invoke
                    [class] => Slim\Handlers\Strategies\RequestResponse
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php
                    [line] => 117
                    [function] => __invoke
                    [class] => Slim\Route
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/Route.php
                    [line] => 268
                    [function] => callMiddlewareStack
                    [class] => Slim\Route
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/App.php
                    [line] => 503
                    [function] => run
                    [class] => Slim\Route
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => /srv/domain/architectuul.com/app/src/Http/Middleware/SessionExpire.php
                    [line] => 54
                    [function] => __invoke
                    [class] => Slim\App
                    [type] => ->
                )

            [8] => Array
                (
                    [function] => __invoke
                    [class] => Atuul\Http\Middleware\SessionExpire
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/DeferredCallable.php
                    [line] => 57
                    [function] => call_user_func_array
                )

            [10] => Array
                (
                    [function] => __invoke
                    [class] => Slim\DeferredCallable
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php
                    [line] => 70
                    [function] => call_user_func
                )

            [12] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/MiddlewareAwareTrait.php
                    [line] => 117
                    [function] => Slim\{closure}
                    [class] => Slim\App
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/App.php
                    [line] => 392
                    [function] => callMiddlewareStack
                    [class] => Slim\App
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => /srv/domain/architectuul.com/vendor/slim/slim/Slim/App.php
                    [line] => 297
                    [function] => process
                    [class] => Slim\App
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => /srv/domain/architectuul.com/root/index.php
                    [line] => 11
                    [function] => run
                    [class] => Slim\App
                    [type] => ->
                )

        )

    [previous:Error:private] => 
)