FB-killa
Проверенные
- Сообщения
- 23
- Реакции
- 8
- Баллы
- 300
Добрый день! Обновился на 2.2.10, стали регулярными следующие ошибки:
Первая ошибка:
TypeError: Argument 1 passed to XF\Search\Search::getResultSet() must be of the type array, null given, called in /var/www/p*****5/data/www/site.pro/src/XF/Pub/Controller/Search.php on line 156
src/XF/Search/Search.php:253
Сгенерировано пользователем: Неизвестная учётная запись
Вторая ошибка:
ErrorException: [E_NOTICE] Trying to get property 'search_results' of non-object
src/XF/Pub/Controller/Search.php:156
Содержимое запроса аналогично первому.
Третья ошибка:
ErrorException: [E_NOTICE] Trying to get property 'result_count' of non-object
src/XF/Pub/Controller/Search.php:153
Первая ошибка:
TypeError: Argument 1 passed to XF\Search\Search::getResultSet() must be of the type array, null given, called in /var/www/p*****5/data/www/site.pro/src/XF/Pub/Controller/Search.php on line 156
src/XF/Search/Search.php:253
Сгенерировано пользователем: Неизвестная учётная запись
Код:
#0 src/XF/Pub/Controller/Search.php(156): XF\Search\Search->getResultSet(NULL)
#1 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#3 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#6 src/XF.php(524): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Код:
array(4) {
["url"] => string(23) "/search/1682793/?page=2"
["referrer"] => bool(false)
["_GET"] => array(1) {
["page"] => string(1) "2"
}
["_POST"] => array(0) {
}
}
Вторая ошибка:
ErrorException: [E_NOTICE] Trying to get property 'search_results' of non-object
src/XF/Pub/Controller/Search.php:156
Код:
#0 src/XF/Pub/Controller/Search.php(156): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/p***...', 156, Array)
#1 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#3 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#6 src/XF.php(524): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Третья ошибка:
ErrorException: [E_NOTICE] Trying to get property 'result_count' of non-object
src/XF/Pub/Controller/Search.php:153
Код:
#0 src/XF/Pub/Controller/Search.php(153): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/var/www/p***...', 153, Array)
#1 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Search->actionResults(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF\\Pub\\Controll...', 'Results', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#3 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Search), Object(XF\Mvc\Reply\Reroute))
#4 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#6 src/XF.php(524): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Последнее редактирование модератором: