( ! ) 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.0001220680{main}( )../index.php:0
20.05112967808Zend\Mvc\Application->run( )../index.php:14
30.05282981648Zend\EventManager\EventManager->trigger( )../Application.php:309
40.05282981648Zend\EventManager\EventManager->triggerListeners( )../EventManager.php:207
50.06293326008call_user_func ( )../EventManager.php:468
60.06303326576Zend\Mvc\DispatchListener->onDispatch( )../EventManager.php:468
70.06403366984Zend\Mvc\Controller\AbstractController->dispatch( )../DispatchListener.php:114
80.06403367464Zend\EventManager\EventManager->trigger( )../AbstractController.php:117
90.06403367464Zend\EventManager\EventManager->triggerListeners( )../EventManager.php:207
100.06433379040call_user_func ( )../EventManager.php:468
110.06433379168Zend\Mvc\Controller\AbstractActionController->onDispatch( )../EventManager.php:468
120.06433379832Application\Controller\GalleryController->indexAction( )../AbstractActionController.php:83