What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Fixed Error: Call to undefined function is_countable()

hollosch

Member
Code:
Error: Call to undefined function is_countable() src/addons/XFA/ExtendedCover/Entity/CoverTrait.php:47
Generiert von: hollosch 14. August 2019 um 10:49
Stack-Trace
#0 src/addons/XFA/ExtendedCover/XF/Entity/Forum.php(82): XFA\ExtendedCover\XF\Entity\Forum->countCover(Array)
#1 src/addons/XFA/ExtendedCover/Listener.php(84): XFA\ExtendedCover\XF\Entity\Forum->getCoverParams()
#2 [internal function]: XFA\ExtendedCover\Listener::postDispatchController(Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Forum), 'Forum', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#3 src/XF/Extension.php(35): call_user_func_array(Array, Array)
#4 src/XF/App.php(2648): XF\Extension->fire('controller_post...', Array, 'XF\\Pub\\Controll...')
#5 src/XF/Mvc/Controller.php(286): XF\App->fire('controller_post...', Array, 'XF\\Pub\\Controll...')
#6 src/XF/Mvc/Dispatcher.php(343): XF\Mvc\Controller->postDispatch('Forum', Object(XF\Mvc\ParameterBag), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'Forum', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Forum), Object(XF\Mvc\Reply\Reroute))
#8 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Forum), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#10 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#11 src/XF.php(390): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}
Status der Anfrage
array(4) {
  ["url"] => string(30) "/forum/media-of-the-month.216/"
  ["referrer"] => string(50) "https://regio-portal.wiki/extendedcover/forum/216/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Fred

Administrator
Staff member
Hum strange look this tomorrow
I have maybe forgot something during build
 

Fred

Administrator
Staff member
I see
Which version of php you use ?
I think you use version < 7.3 because is_countable is function implemented in PHP 7.3.0

So should be good in beta 3 ;)
 
Top