Раздел в разработке
( ! ) Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /var/www/bashtop/apps/views/category.phtml on line 71 ( ! ) TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /var/www/bashtop/apps/views/category.phtml on line 71 Call Stack # Time Memory Function Location 1 0.0038 448568 {main}( ) .../index.php:0 2 0.0040 448920 Application->main( ) .../index.php:261 3 0.0054 522864 handle( $uri = '/category/kvartiri' ) .../index.php:253 4 0.0057 543240 dispatch( ) .../index.php:253 5 0.0062 564000 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 = ['name' => 'kvartiri'] ) .../index.php:253 6 0.0062 564728 CategoryController->listAction( 'kvartiri' ) .../index.php:253 7 0.0530 1698880 render( $path = 'category' ) .../CategoryController.php:59 8 0.0530 1717224 internalRender( $path = 'category', $params = ['title_post' => 'Квартиры', 'textSearch' => '', 'cityLinkBreadcrumbs' => 'category', 'postList' => [0 => class stdClass { ... }, 1 => class stdClass { ... }, 2 => class stdClass { ... }, 3 => class stdClass { ... }, 4 => class stdClass { ... }, 5 => class stdClass { ... }, 6 => class stdClass { ... }, 7 => class stdClass { ... }, 8 => class stdClass { ... }, 9 => class stdClass { ... }, 10 => class stdClass { ... }, 11 => class stdClass { ... }, 12 => class stdClass { ... }, 13 => class stdClass { ... }, 14 => class stdClass { ... }, 15 => class stdClass { ... }, 16 => class stdClass { ... }, 17 => class stdClass { ... }, 18 => class stdClass { ... }, 19 => class stdClass { ... }], 'subCategory' => [0 => [...], 1 => [...], 2 => [...], 3 => [...]], 'breadcrumbs' => '<li><a href=\'/list\'>Объявления всей республики Башкортостан</a></li><li><a href="/category/nedvizhimost">Недвижимость</a></li><li><a href="/category/kvartiri">Квартиры</a></li>', 'catsSearch' => '<select id="top_category" name="top_category">\n<option value="0">Любая категория</option><option value="1" style="font-weight: bold;">Транспорт</option>\n<option value="9"> Автомобили с пробегом</option>\n<option value="10"> Новые автомобили</option>\n<option value="11"> Автозапчасти и аксессуары</option>\n<option value="12"> Водный транспорт</option>\n<option value="13">&nbs'..., 'citySearch' => '<select id="city_list" name="city_list">\n\t<option value="0">Вся Республика</option>\n\t<option value="6715"> Уфа</option>\n\t<option value="6664">Агидель</option>\n\t<option value="6665">Акъяр</option>\n\t<option value="6666">Архангельское</option>\n\t<option value="6667">Аскарово</option>\n\t<option value="6668">Аскино</option>\n\t<option value="6669">Бакалы</option>\n\t<option value="6670">Белебей</option>\n\t<option value="6671">Белорецк</option>\n'..., 'paginatorLink' => '<nav aria-label="Pagination">\r\n <ul class="pagination text-center"><li class="current">1</li><li><a href=/category/kvartiri?page=2 aria-label="Page 2">2</a></li><li class="pagination-next"><a href=/category/kvartiri?page=2 aria-label="Next page">Далее <span class="show-for-sr">page</span></a></li></ul></nav>'] ) .../CategoryController.php:59 9 0.0530 1719056 render( $path = '../apps/views/category.phtml', $params = ['title_post' => 'Квартиры', 'textSearch' => '', 'cityLinkBreadcrumbs' => 'category', 'postList' => [0 => class stdClass { ... }, 1 => class stdClass { ... }, 2 => class stdClass { ... }, 3 => class stdClass { ... }, 4 => class stdClass { ... }, 5 => class stdClass { ... }, 6 => class stdClass { ... }, 7 => class stdClass { ... }, 8 => class stdClass { ... }, 9 => class stdClass { ... }, 10 => class stdClass { ... }, 11 => class stdClass { ... }, 12 => class stdClass { ... }, 13 => class stdClass { ... }, 14 => class stdClass { ... }, 15 => class stdClass { ... }, 16 => class stdClass { ... }, 17 => class stdClass { ... }, 18 => class stdClass { ... }, 19 => class stdClass { ... }], 'subCategory' => [0 => [...], 1 => [...], 2 => [...], 3 => [...]], 'breadcrumbs' => '<li><a href=\'/list\'>Объявления всей республики Башкортостан</a></li><li><a href="/category/nedvizhimost">Недвижимость</a></li><li><a href="/category/kvartiri">Квартиры</a></li>', 'catsSearch' => '<select id="top_category" name="top_category">\n<option value="0">Любая категория</option><option value="1" style="font-weight: bold;">Транспорт</option>\n<option value="9"> Автомобили с пробегом</option>\n<option value="10"> Новые автомобили</option>\n<option value="11"> Автозапчасти и аксессуары</option>\n<option value="12"> Водный транспорт</option>\n<option value="13">&nbs'..., 'citySearch' => '<select id="city_list" name="city_list">\n\t<option value="0">Вся Республика</option>\n\t<option value="6715"> Уфа</option>\n\t<option value="6664">Агидель</option>\n\t<option value="6665">Акъяр</option>\n\t<option value="6666">Архангельское</option>\n\t<option value="6667">Аскарово</option>\n\t<option value="6668">Аскино</option>\n\t<option value="6669">Бакалы</option>\n\t<option value="6670">Белебей</option>\n\t<option value="6671">Белорецк</option>\n'..., 'paginatorLink' => '<nav aria-label="Pagination">\r\n <ul class="pagination text-center"><li class="current">1</li><li><a href=/category/kvartiri?page=2 aria-label="Page 2">2</a></li><li class="pagination-next"><a href=/category/kvartiri?page=2 aria-label="Next page">Далее <span class="show-for-sr">page</span></a></li></ul></nav>'], $mustClean = TRUE ) .../CategoryController.php:59 10 0.0533 1733928 Phalcon\Mvc\View\Engine\Php->render( ) .../CategoryController.php:59 11 0.0537 1803216 number_format( $num = '8000+', $decimals = 0, $decimal_separator = '', $thousands_separator = ' ' ) .../category.phtml:71