ErrorException: [E_WARNING] count():

hollosch

New Member
Reactions
2
Code:
ErrorException: [E_WARNING] count(): Parameter must be an array or an object that implements Countable src/addons/SV/ElasticSearchEssentials/XF/Search/Search.php:93
Generiert von: Unbekanntes Konto 14. Mai 2019 um 12:11
Stack-Trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] cou...', '/data/vhosts/re...', 93, Array)
#1 src/addons/SV/ElasticSearchEssentials/XF/Search/Search.php(93): count(NULL)
#2 src/XF/Search/Search.php(162): SV\ElasticSearchEssentials\XF\Search\Search->applyPermissionConstraints(Object(SV\ElasticSearchEssentials\XF\Search\Query\Query))
#3 src/XF/Repository/Search.php(34): XF\Search\Search->search(Object(SV\ElasticSearchEssentials\XF\Search\Query\Query))
#4 src/addons/SV/ElasticSearchEssentials/XF/Repository/Search.php(29): XF\Repository\Search->runSearch(Object(SV\ElasticSearchEssentials\XF\Search\Query\Query), Array, false)
#5 src/XF/Pub/Controller/Search.php(395): SV\ElasticSearchEssentials\XF\Repository\Search->runSearch(Object(SV\ElasticSearchEssentials\XF\Search\Query\Query), Array, false)
#6 src/addons/SV/ElasticSearchEssentials/XF/Pub/Controller/Search.php(327): XF\Pub\Controller\Search->runSearch(Object(SV\ElasticSearchEssentials\XF\Search\Query\Query), Array, false)
#7 src/XF/Pub/Controller/Search.php(241): SV\ElasticSearchEssentials\XF\Pub\Controller\Search->runSearch(Object(SV\ElasticSearchEssentials\XF\Search\Query\Query), Array, false)
#8 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Search->actionMember(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Search', 'Member', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), NULL)
#10 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Search), NULL)
#11 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}
Status der Anfrage
array(4) {
  ["url"] => string(52) "/index.php?search/member&user_id=1528&content=thread"
  ["referrer"] => bool(false)
  ["_GET"] => array(3) {
    ["search/member"] => string(0) ""
    ["user_id"] => string(4) "1528"
    ["content"] => string(6) "thread"
  }
  ["_POST"] => array(0) {
  }
}
 
Fixed for the next version, actually caused by the other error you just reported but is a bug in my code.
 

Users who are viewing this thread

Back
Top