https://dev5.tile.expert/en-be/tile/ragno/realstone-pietranticaxt20/f/swimming-pool

Exceptions

Notice: Array to string conversion

Exception

ErrorException

  1.             foreach ($iRows as $intRow) {
  2.                 $row $intRow;
  3.                 if (
  4.                     !empty($data['searchFilter']['getUsings']) && count($data['searchFilter']) > &&
  5.                     !(count(array_intersect([$row['apply_id']], $data['searchFilter']['getUsings'])) > 0)
  6.                 ) {
  7.                     $applyShow false;
  8.                 } else {
  9.                     $applyShow true;
  10.                 }
SphinxSearcherService->searchSphinx() in src/WebBundle/Helper/App.php (line 515)
  1.      * @return array
  2.      * @throws Exception
  3.      */
  4.     public static function searchSphinx($data = [], $limit 0$withSchema false$full false$getCount false)
  5.     {
  6.         return static::getSphinxSearcher()->searchSphinx($data$limit$withSchema$full$getCount);
  7.     }
  8.     /**
  9.      * @return bool
  10.      */
App::searchSphinx() in src/WebBundle/Service/SearchService.php (line 588)
  1.             $min = ($limit $page) - $limit;
  2.             $max $limit $page;
  3.             $sphinxResult $oMemcache->get($keyCacheAll);
  4.             if (!$sphinxResult || $this->isDebug) {
  5.                 $sphinxResult App::searchSphinx($data3falsetrue$this->gCount);
  6.                 // идея не получила одобрение но без кеша будет плохо потому есть ганс что вернем после очистки
  7.                 // TODO очистить от не нужных полей сфинкс то что нужно для полного пересчета только для полного пересчета
  8.                 // остальное только по надобности.
  9.                 // $oMemcache->set($keyCacheAll, $sphinxResult, MEMCACHE_COMPRESSED, (int) TimeConstant::MINUTE * 10);
  10.             }
SearchService->getResult() in src/WebBundle/Service/SearchService.php (line 529)
  1.      * @return mixed
  2.      * @throws Exception
  3.      */
  4.     public function getResultCount()
  5.     {
  6.         $result $this->getResult();
  7.         return $result['count'];
  8.     }
  9.     /**
  10.      * Получаем количество найденных резильтатов поиска из сфинкса
SearchService->getResultCount() in src/WebBundle/Service/SearchService.php (line 172)
  1.         }
  2.         $this->buildFilterForGTM($filterGroups);
  3.         $this->amount $this->setResultAmount($this->getResultCount());
  4.         $metaTitle $titleStr;
  5.         $list $this->getResultList();
  6.         if ($list) {
  7.             $priceMin array_column($list'pr_min');
SearchService->buildPageParams() in src/WebBundle/Service/SearchService.php (line 124)
  1.             return $this;
  2.         }
  3.         $this->addSearchFilter($filterService->getSearchFilter());
  4.         $this->buildPageParams($filterService);
  5.         return $this;
  6.     }
  7.     /**
SearchService->setFilter() in src/WebBundle/Controller/TileController.php (line 250)
  1.                     'c_id' => [$collection['id']],
  2.                     'inside' => true,
  3.                 ];
  4.                 $reqCatDTO = new RequestCatalogDTO($request$keynull);
  5.                 $oSearchService $this->searchService->setFilter($reqCatDTO$searchFilter);
  6.                 $titleHtml strip_tags($oSearchService->getTitleHtml());
  7.                 $titleHtml preg_replace('/ edit/ui'''$titleHtml);
in vendor/symfony/http-kernel/HttpKernel.php -> indexAction (line 163)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in public/index.php (line 34)
  1. }
  2. Request::enableHttpMethodParameterOverride();
  3. $request Request::createFromGlobals();
  4. define('BASE_URL'$request->getScheme() . '://tile.expert/');
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);
require('/var/www/dev5.tile.expert/public/index.php') in web/index.php (line 3)
  1. <?php
  2. require '../public/index.php';

Logs

Level Channel Message
INFO 21:30:55 php User Deprecated: Since symfony/http-foundation 5.3: "Symfony\Component\HttpFoundation\RequestStack::getMasterRequest()" is deprecated, use "getMainRequest()" instead.
{
    "exception": {}
}
INFO 21:30:55 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "9e7da8"
    },
    "request_uri": "https://dev5.tile.expert/_profiler/9e7da8",
    "method": "GET"
}
INFO 21:30:55 php User Deprecated: Since symfony/http-foundation 5.3: "Symfony\Component\HttpFoundation\RequestStack::getMasterRequest()" is deprecated, use "getMainRequest()" instead.
{
    "exception": {}
}
INFO 21:30:55 php User Deprecated: Since symfony/framework-bundle 5.2: Accessing the "security.csrf.token_manager" service directly from the container is deprecated, use dependency injection instead.
{
    "exception": {}
}
INFO 21:30:55 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.factory.service" service is deprecated, use "session.storage.factory.native", "session.storage.factory.php_bridge" or "session.storage.factory.mock_file" instead.
{
    "exception": {}
}
INFO 21:30:55 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.native" service is deprecated, use "session.storage.factory.native" instead.
{
    "exception": {}
}
INFO 21:30:55 php User Deprecated: Since symfony/framework-bundle 5.3: The "session.storage.metadata_bag" service is deprecated, create your own "session.storage.factory" instead.
{
    "exception": {}
}

Stack Trace

ErrorException
ErrorException:
Notice: Array to string conversion

  at src/WebBundle/Service/SphinxSearcherService.php:1028
  at WebBundle\Service\SphinxSearcherService->searchSphinx()
     (src/WebBundle/Helper/App.php:515)
  at WebBundle\Helper\App::searchSphinx()
     (src/WebBundle/Service/SearchService.php:588)
  at WebBundle\Service\SearchService->getResult()
     (src/WebBundle/Service/SearchService.php:529)
  at WebBundle\Service\SearchService->getResultCount()
     (src/WebBundle/Service/SearchService.php:172)
  at WebBundle\Service\SearchService->buildPageParams()
     (src/WebBundle/Service/SearchService.php:124)
  at WebBundle\Service\SearchService->setFilter()
     (src/WebBundle/Controller/TileController.php:250)
  at WebBundle\Controller\TileController->indexAction()
     (vendor/symfony/http-kernel/HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:34)
  at require('/var/www/dev5.tile.expert/public/index.php')
     (web/index.php:3)