count(): Parameter must be an array or an object that implements Countable|#0 /homepages/0/d95458410/htdocs/CE4/Photostomp/ttg-be/publisher/application/models/Photo.php(279): ErrorHandler::handleError(2, 'count(): Parame...', '/homepages/0/d9...', 279, Array) #1 /homepages/0/d95458410/htdocs/CE4/Photostomp/ttg-be/publisher/application/models/Album.php(500): Photo->getMetadata('itemPricing') #2 /homepages/0/d95458410/htdocs/CE4/Photostomp/ttg-be/publisher/application/controllers/GalleryController.php(255): Album->disableMixedPricing() #3 /homepages/0/d95458410/htdocs/CE4/Photostomp/ttg-be/framework/controllers/Controller.php(41): GalleryController->gallery('57942', 'index', '') #4 /homepages/0/d95458410/htdocs/CE4/Photostomp/ttg-be/framework/Framework.php(124): Controller->dispatch(Array) #5 /homepages/0/d95458410/htdocs/CE4/Photostomp/galleries/1_family-studio-shoots/lib.php(48): Framework->route() #6 /homepages/0/d95458410/htdocs/CE4/Photostomp/galleries/1_family-studio-shoots/index.php(4): route(Array) #7 {main}|URL: /galleries/1_family-studio-shoots/index.php