( ! ) Fatal error: Cannot use object of type Zend\Db\ResultSet\ResultSet as array in /var/www/testsite/npc/module/Application/Controller/GalleryController.php on line 37
Call Stack
#TimeMemoryFunctionLocation
10.0000220680{main}( )../index.php:0
20.03942967808Zend\Mvc\Application->run( )../index.php:14
30.04082981648Zend\EventManager\EventManager->trigger( )../Application.php:309
40.04082981648Zend\EventManager\EventManager->triggerListeners( )../EventManager.php:207
50.04753326008call_user_func ( )../EventManager.php:468
60.04753326576Zend\Mvc\DispatchListener->onDispatch( )../EventManager.php:468
70.04803366984Zend\Mvc\Controller\AbstractController->dispatch( )../DispatchListener.php:114
80.04803367464Zend\EventManager\EventManager->trigger( )../AbstractController.php:117
90.04803367464Zend\EventManager\EventManager->triggerListeners( )../EventManager.php:207
100.04833379040call_user_func ( )../EventManager.php:468
110.04833379168Zend\Mvc\Controller\AbstractActionController->onDispatch( )../EventManager.php:468
120.04843379832Application\Controller\GalleryController->indexAction( )../AbstractActionController.php:83