( ! ) 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.0010 | 448328 | {main}( ) | .../index.php:0 |
2 | 0.0010 | 448680 | Application->main( ) | .../index.php:261 |
3 | 0.0020 | 522624 | handle( $uri = '/c/beloreck/poteri_i_nahodki' ) | .../index.php:253 |
4 | 0.0022 | 543056 | dispatch( ) | .../index.php:253 |
5 | 0.0026 | 563520 | 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' => 'beloreck', 'name' => 'poteri_i_nahodki'] ) | .../index.php:253 |
6 | 0.0026 | 564264 | CategoryController->listAction( 'beloreck', 'poteri_i_nahodki' ) | .../index.php:253 |
7 | 0.0490 | 1614208 | CategoryController::getPhotosByPosts( $postList = [0 => ['id_post' => 1051, 'title_post' => 'Business loans and Personal loans are available', 'category_post' => 174, 'cat_patch' => '172W174W', 'text_post' => 'We offer loans at low Interest rate. Business loans and Personal loans are available. If you are In Debt we still offer you a loan since we are the last bus stop in financial Help contact us WhatsApp No:+918929509036 financialserviceoffer876@gmail.com Dr. James Eric', 'date_post' => '2022-07-12 21:40:07', 'price_post' => '200000', 'city_post' => '6671', 'phone_post' => NULL, 'email_post' => NULL, 'web_post' => NULL, 'name_post' => NULL, 'url_post' => 'business-loans-and-personal-loans-are-available', 'totall_view' => 536, 'day_view' => NULL, 'vip_post' => NULL, 'select_post' => NULL, 'user_post' => 348, 'contact_post' => NULL, 'reg_post' => NULL, 'hash_post' => NULL, 'active_post' => 1, 'city_name' => 'Белорецк']] ) | .../CategoryController.php:47 |