An error occurred

An error occurred during execution; please try again later.


Additional information:

Zend\Paginator\Exception\InvalidArgumentException

File:
/var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/Paginator/Paginator.php:283
Message:
Zend\Paginator only accepts instances of the type Zend\Paginator\Adapter\AdapterInterface or Zend\Paginator\AdapterAggregateInterface.
Stack trace:
#0 /var/virtualwww/postgre_app_www/iwoman.bg/module/Application/src/Application/Controller/IndexController.php(1158): Zend\Paginator\Paginator->__construct(NULL)
#1 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83): Application\Controller\IndexController->categoriesAction()
#2 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#3 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#4 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#5 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#6 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#7 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#8 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#9 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 /var/virtualwww/postgre_app_www/iwoman.bg/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#11 /var/virtualwww/postgre_app_www/iwoman.bg/public/index.php(42): Zend\Mvc\Application->run()
#12 {main}