count(): Parameter must be an array or an object that implements Countable|#0 /home/.sites/135/site734/web/ttg-be/publisher/application/models/Photo.php(321): ErrorHandler::handleError(2, 'count(): Parame...', '/home/.sites/13...', 321, Array) #1 /home/.sites/135/site734/web/ttg-be/publisher/application/models/Album.php(511): Photo->getMetadata('itemPricing') #2 /home/.sites/135/site734/web/ttg-be/publisher/application/controllers/GalleryController.php(255): Album->disableMixedPricing() #3 /home/.sites/135/site734/web/ttg-be/framework/controllers/Controller.php(41): GalleryController->gallery('22859', 'index', '') #4 /home/.sites/135/site734/web/ttg-be/framework/Framework.php(124): Controller->dispatch(Array) #5 /home/.sites/135/site734/web/gallery/event/stadtfest-wien/lib.php(48): Framework->route() #6 /home/.sites/135/site734/web/gallery/event/stadtfest-wien/index.php(4): route(Array) #7 {main}|URL: /gallery/event/stadtfest-wien/index.php