Fatal error: Uncaught Zend_Paginator_Exception: Zend_Paginator only accepts instances of the type Zend_Paginator_Adapter_Interface or Zend_Paginator_AdapterAggregate. in /home/max/Zend/Paginator.php:461 Stack trace: #0 /home/max/source/oil70_2018/src/application/modules/shop/controllers/IndexController.php(91): Zend_Paginator->__construct(Array) #1 /home/max/Zend/Controller/Action.php(516): Shop_IndexController->indexAction() #2 /home/max/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction') #3 /home/max/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #4 /home/max/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #5 /home/max/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #6 /home/max/source/oil70_2018/src/www/index.php(28): Zend_Application->run() #7 {main} thrown in /home/max/Zend/Paginator.php on line 461