count(): Parameter must be an array or an object that implements Countable|#0 /var/www/vhosts/fotofred.de/httpdocs/ttg-be/publisher/application/models/Photo.php(321): ErrorHandler::handleError(2, 'count(): Parame...', '/var/www/vhosts...', 321, Array) #1 /var/www/vhosts/fotofred.de/httpdocs/ttg-be/publisher/application/models/Album.php(511): Photo->getMetadata('itemPricing') #2 /var/www/vhosts/fotofred.de/httpdocs/ttg-be/publisher/application/controllers/GalleryController.php(255): Album->disableMixedPricing() #3 /var/www/vhosts/fotofred.de/httpdocs/ttg-be/framework/controllers/Controller.php(41): GalleryController->gallery('67372', 'index', '') #4 /var/www/vhosts/fotofred.de/httpdocs/ttg-be/framework/Framework.php(124): Controller->dispatch(Array) #5 /var/www/vhosts/fotofred.de/httpdocs/galleries/07/lib.php(48): Framework->route() #6 /var/www/vhosts/fotofred.de/httpdocs/galleries/07/index.php(4): route(Array) #7 {main}|URL: /galleries/07/index.php