Cart

Error debug

Code:
0
Text:
count(): Argument #1 ($value) must be of type Countable|array, stdClass given
File:
/var/www/html/app/views/Cart/view.php
Line:
24

array(39) {
  [0]=>
  array(3) {
    ["file"]=>
    string(47) "/var/www/html/core/Template/Php/PhpRenderer.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(12) "require_once"
  }
  [1]=>
  array(5) {
    ["file"]=>
    string(54) "/var/www/html/app/controllers/Cart/CartIndexAction.php"
    ["line"]=>
    int(28)
    ["function"]=>
    string(6) "render"
    ["class"]=>
    string(29) "core\Template\Php\PhpRenderer"
    ["type"]=>
    string(2) "->"
  }
  [2]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(36) "app\controllers\Cart\CartIndexAction"
    ["type"]=>
    string(2) "->"
  }
  [3]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [4]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [5]=>
  array(5) {
    ["file"]=>
    string(52) "/var/www/html/app/middlewares/WishlistMiddleware.php"
    ["line"]=>
    int(16)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [6]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(34) "app\middlewares\WishlistMiddleware"
    ["type"]=>
    string(2) "->"
  }
  [7]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [8]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [9]=>
  array(5) {
    ["file"]=>
    string(54) "/var/www/html/app/middlewares/CategoriesMiddleware.php"
    ["line"]=>
    int(34)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [10]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(36) "app\middlewares\CategoriesMiddleware"
    ["type"]=>
    string(2) "->"
  }
  [11]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [12]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [13]=>
  array(5) {
    ["file"]=>
    string(52) "/var/www/html/app/middlewares/LanguageMiddleware.php"
    ["line"]=>
    int(38)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [14]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(34) "app\middlewares\LanguageMiddleware"
    ["type"]=>
    string(2) "->"
  }
  [15]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [16]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [17]=>
  array(5) {
    ["file"]=>
    string(55) "/var/www/html/app/middlewares/CredentialsMiddleware.php"
    ["line"]=>
    int(13)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [18]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(37) "app\middlewares\CredentialsMiddleware"
    ["type"]=>
    string(2) "->"
  }
  [19]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [20]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [21]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/middlewares/Error404Middleware.php"
    ["line"]=>
    int(25)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [22]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(35) "core\middlewares\Error404Middleware"
    ["type"]=>
    string(2) "->"
  }
  [23]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [24]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [25]=>
  array(5) {
    ["file"]=>
    string(60) "/var/www/html/core/middlewares/ContentTypeBodyMiddleware.php"
    ["line"]=>
    int(27)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [26]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(42) "core\middlewares\ContentTypeBodyMiddleware"
    ["type"]=>
    string(2) "->"
  }
  [27]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [28]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [29]=>
  array(5) {
    ["file"]=>
    string(51) "/var/www/html/core/middlewares/RouterMiddleware.php"
    ["line"]=>
    int(31)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [30]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(33) "core\middlewares\RouterMiddleware"
    ["type"]=>
    string(2) "->"
  }
  [31]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [32]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [33]=>
  array(5) {
    ["file"]=>
    string(58) "/var/www/html/core/middlewares/ErrorResponseMiddleware.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(28) "core\Http\Pipeline\{closure}"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [34]=>
  array(5) {
    ["file"]=>
    string(53) "/var/www/html/core/Http/Pipeline/ResolverCallback.php"
    ["line"]=>
    int(36)
    ["function"]=>
    string(8) "__invoke"
    ["class"]=>
    string(40) "core\middlewares\ErrorResponseMiddleware"
    ["type"]=>
    string(2) "->"
  }
  [35]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(35)
    ["function"]=>
    string(4) "call"
    ["class"]=>
    string(35) "core\Http\Pipeline\ResolverCallback"
    ["type"]=>
    string(2) "->"
  }
  [36]=>
  array(5) {
    ["file"]=>
    string(45) "/var/www/html/core/Http/Pipeline/Pipeline.php"
    ["line"]=>
    int(28)
    ["function"]=>
    string(4) "next"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [37]=>
  array(5) {
    ["file"]=>
    string(26) "/var/www/html/core/App.php"
    ["line"]=>
    int(65)
    ["function"]=>
    string(3) "run"
    ["class"]=>
    string(27) "core\Http\Pipeline\Pipeline"
    ["type"]=>
    string(2) "->"
  }
  [38]=>
  array(5) {
    ["file"]=>
    string(23) "/var/www/html/index.php"
    ["line"]=>
    int(29)
    ["function"]=>
    string(3) "run"
    ["class"]=>
    string(8) "core\App"
    ["type"]=>
    string(2) "->"
  }
}
int(1)