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('56800', '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-20-jitex-molndal-bk-borgeby-fk/lib.php(48): Framework->route() #6 /customers/b/b/0/montini.se/httpd.www/galleries/2018-10-20-jitex-molndal-bk-borgeby-fk/index.php(4): route(Array) #7 {main}|URL: /galleries/2018-10-20-jitex-molndal-bk-borgeby-fk/index.php