( ! ) Fatal error: Uncaught Error: Call to a member function count() on array in /var/www/bashtop/apps/controllers/CategoryController.php on line 67
( ! ) Error: Call to a member function count() on array in /var/www/bashtop/apps/controllers/CategoryController.php on line 67
Call Stack
#TimeMemoryFunctionLocation
10.0015448328{main}( ).../index.php:0
20.0016448680Application->main( ).../index.php:261
30.0027522624handle( $uri = '/c/chishmi/dlya_doma_i_dachi' ).../index.php:253
40.0029543048dispatch( ).../index.php:253
50.0034563512callActionMethod( $handler = class CategoryController { protected $container = class Phalcon\Di\Di { protected $services = [...]; protected $sharedInstances = [...]; protected $eventsManager = NULL }; public $view = class Phalcon\Mvc\View { protected $container = class Phalcon\Di\Di { ... }; protected $actionName = NULL; protected $activeRenderPaths = NULL; protected $basePath = ''; protected $content = NULL; protected $controllerName = NULL; protected $currentRenderLevel = 0; protected $disabled = TRUE; protected $disabledLevels = [...]; protected $engines = FALSE; protected $eventsManager = NULL; protected $layout = NULL; protected $layoutsDir = ''; protected $mainView = 'index'; protected $options = [...]; protected $params = [...]; protected $pickView = NULL; protected $partialsDir = ''; protected $registeredEngines = [...]; protected $renderLevel = 5; protected $templatesAfter = [...]; protected $templatesBefore = [...]; protected $viewsDirs = '../apps/views/'; protected $viewParams = [...] }; public $dispatcher = class Phalcon\Mvc\Dispatcher { protected $container = class Phalcon\Di\Di { ... }; protected $activeHandler = ...; protected $activeMethodMap = [...]; protected $actionName = 'list'; protected $actionSuffix = 'Action'; protected $camelCaseMap = [...]; protected $defaultAction = 'index'; protected $defaultNamespace = ''; protected $defaultHandler = 'index'; protected $handlerHashes = [...]; protected $handlerName = 'category'; protected $handlerSuffix = 'Controller'; protected $eventsManager = NULL; protected $finished = TRUE; protected $forwarded = FALSE; protected $isControllerInitialize = FALSE; protected $lastHandler = ...; protected $modelBinder = NULL; protected $modelBinding = FALSE; protected $moduleName = ''; protected $namespaceName = ''; protected $params = [...]; protected $previousActionName = ''; protected $previousHandlerName = ''; protected $previousNamespaceName = ''; protected $returnedValue = NULL }; public $request = class Phalcon\Http\Request { protected $container = class Phalcon\Di\Di { ... }; private $filterService = NULL; private $httpMethodParameterOverride = FALSE; private $queryFilters = [...]; private $patchCache = NULL; private $putCache = NULL; private $rawBody = ''; private $strictHostCheck = FALSE } }, $actionMethod = 'listAction', $params = ['city' => 'chishmi', 'name' => 'dlya_doma_i_dachi'] ).../index.php:253
60.0034564256CategoryController->listAction( 'chishmi', 'dlya_doma_i_dachi' ).../index.php:253
70.04001576816CategoryController::getPhotosByPosts( $postList = [] ).../CategoryController.php:47