( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0008 | 448360 | {main}( ) | .../index.php:0 |
2 | 0.0047 | 448712 | Application->main( ) | .../index.php:261 |
3 | 0.0058 | 522656 | handle( $uri = '/c/verhnie_kigi/dlya_doma_i_dachi' ) | .../index.php:253 |
4 | 0.0061 | 543096 | dispatch( ) | .../index.php:253 |
5 | 0.0065 | 563560 | callActionMethod( $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' => 'verhnie_kigi', 'name' => 'dlya_doma_i_dachi'] ) | .../index.php:253 |
6 | 0.0065 | 564304 | CategoryController->listAction( 'verhnie_kigi', 'dlya_doma_i_dachi' ) | .../index.php:253 |
7 | 0.0595 | 1616032 | CategoryController::getPhotosByPosts( $postList = [0 => ['id_post' => 1586, 'title_post' => 'Кровати металлические в пансионаты оптом', 'category_post' => 16, 'cat_patch' => '2W16W', 'text_post' => 'Полуторные металлические кровати производит фирма Металл-кровати.\r\n- кровати металлические одноярусные и двухъярусные\r\n- кровати металлические с прокатной пружиной и со сварной сеткой\r\n- кровати металлические со спинками ЛДСП\r\n- кровати армейские\r\nНаши кровати выдерживают нагру'..., 'date_post' => '2024-12-05 13:44:33', 'price_post' => '1500', 'city_post' => '6679', 'phone_post' => NULL, 'email_post' => NULL, 'web_post' => NULL, 'name_post' => NULL, 'url_post' => 'krovati-metallicheskie-v-pansionaty-optom', 'totall_view' => 10, 'day_view' => NULL, 'vip_post' => NULL, 'select_post' => NULL, 'user_post' => 300, 'contact_post' => NULL, 'reg_post' => NULL, 'hash_post' => NULL, 'active_post' => 1, 'city_name' => 'Верхние Киги']] ) | .../CategoryController.php:47 |