• 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 Errors on page

vplusasia

New Member
Joined
Nov 14, 2018
Messages
18
I have tested extended cover and got error on page

ErrorException: [E_WARNING] count(): Parameter must be an array or an object that implements Countable in src/addons/XFA/ExtendedCover/XF/Entity/Page.php at line 7
  1. XF::handlePhpError()
  2. count() in src/addons/XFA/ExtendedCover/XF/Entity/Page.php at line 71
  3. XFA\ExtendedCover\XF\Entity\Page->getCoverParams() in src/addons/XFA/ExtendedCover/Listener.php at line 94
  4. XFA\ExtendedCover\Listener::postDispatchController()
  5. call_user_func_array() in src/XF/Extension.php at line 35
  6. XF\Extension->fire() in src/XF/App.php at line 2355
  7. XF\App->fire() in src/XF/Mvc/Controller.php at line 280
  8. XF\Mvc\Controller->postDispatch() in src/XF/Mvc/Dispatcher.php at line 271
  9. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
  10. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
  11. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1894
  12. XF\App->run() in src/XF.php at line 328
  13. XF::runApp() in index.php at line 13
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,599
Hi
Which version of XF and php you use ?
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,599
Sorry for delay
I will try to look this tomorrow.

Can just tell me how you have process in order to catch this error ?
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,599
Hi
So sorry for this very long delay
It's should be fixed on beta 2
This beta should be stable and if feedback are good, will create beta 3 with upgrade script from XF1 ;)