( ! ) 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.0000221792{main}( )../index.php:0
20.04322986872Zend\Mvc\Application->run( )../index.php:14
30.04503002760Zend\EventManager\EventManager->trigger( )../Application.php:309
40.04503002760Zend\EventManager\EventManager->triggerListeners( )../EventManager.php:207
50.05223345040call_user_func ( )../EventManager.php:468
60.05223345608Zend\Mvc\DispatchListener->onDispatch( )../EventManager.php:468
70.05293385992Zend\Mvc\Controller\AbstractController->dispatch( )../DispatchListener.php:114
80.05303386472Zend\EventManager\EventManager->trigger( )../AbstractController.php:117
90.05303386472Zend\EventManager\EventManager->triggerListeners( )../EventManager.php:207
100.05323398048call_user_func ( )../EventManager.php:468
110.05323398176Zend\Mvc\Controller\AbstractActionController->onDispatch( )../EventManager.php:468
120.05323398840Application\Controller\GalleryController->indexAction( )../AbstractActionController.php:83