( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0000 | 220680 | {main}( ) | ../index.php:0 |
2 | 0.0394 | 2967808 | Zend\Mvc\Application->run( ) | ../index.php:14 |
3 | 0.0408 | 2981648 | Zend\EventManager\EventManager->trigger( ) | ../Application.php:309 |
4 | 0.0408 | 2981648 | Zend\EventManager\EventManager->triggerListeners( ) | ../EventManager.php:207 |
5 | 0.0475 | 3326008 | call_user_func
( ) | ../EventManager.php:468 |
6 | 0.0475 | 3326576 | Zend\Mvc\DispatchListener->onDispatch( ) | ../EventManager.php:468 |
7 | 0.0480 | 3366984 | Zend\Mvc\Controller\AbstractController->dispatch( ) | ../DispatchListener.php:114 |
8 | 0.0480 | 3367464 | Zend\EventManager\EventManager->trigger( ) | ../AbstractController.php:117 |
9 | 0.0480 | 3367464 | Zend\EventManager\EventManager->triggerListeners( ) | ../EventManager.php:207 |
10 | 0.0483 | 3379040 | call_user_func
( ) | ../EventManager.php:468 |
11 | 0.0483 | 3379168 | Zend\Mvc\Controller\AbstractActionController->onDispatch( ) | ../EventManager.php:468 |
12 | 0.0484 | 3379832 | Application\Controller\GalleryController->indexAction( ) | ../AbstractActionController.php:83 |