count(): Parameter must be an array or an object that implements Countable|#0 /customers/b/b/0/montini.se/httpd.www/ttg-be/publisher/application/models/Photo.php(321): ErrorHandler::handleError(2, 'count(): Parame...', '/customers/b/b/...', 321, Array) #1 /customers/b/b/0/montini.se/httpd.www/ttg-be/publisher/application/models/Album.php(511): Photo->getMetadata('itemPricing') #2 /customers/b/b/0/montini.se/httpd.www/ttg-be/publisher/application/controllers/GalleryController.php(255): Album->disableMixedPricing() #3 /customers/b/b/0/montini.se/httpd.www/ttg-be/framework/controllers/Controller.php(41): GalleryController->gallery('75453', 'index', '') #4 /customers/b/b/0/montini.se/httpd.www/ttg-be/framework/Framework.php(124): Controller->dispatch(Array) #5 /customers/b/b/0/montini.se/httpd.www/galleries/2018-10-14-kgfc-f19-if-limhamn-bunkeflo-f19/lib.php(48): Framework->route() #6 /customers/b/b/0/montini.se/httpd.www/galleries/2018-10-14-kgfc-f19-if-limhamn-bunkeflo-f19/index.php(4): route(Array) #7 {main}|URL: /galleries/2018-10-14-kgfc-f19-if-limhamn-bunkeflo-f19/index.php