symfony - sonata media bundle error -


this error occurs when add new image gallery.

the filter "number_format_decimal" not exist in sonatamediabundle:mediaadmin:edit.html.twig @ line 54

my config //app/conf/config.yml

sonata_media: # if don't use default namespace configuration #class: #    media: myvendor\mediabundle\entity\media #    gallery: myvendor\mediabundle\entity\gallery #    gallery_has_media: myvendor\mediabundle\entity\galleryhasmedia default_context: default db_driver: doctrine_orm # or doctrine_mongodb, doctrine_phpcr contexts:     default:  # default context mandatory         providers:             - sonata.media.provider.dailymotion             - sonata.media.provider.youtube             - sonata.media.provider.image             - sonata.media.provider.file          formats:             small: { width: 100 , quality: 70}             big:   { width: 500 , quality: 70}  cdn:     server:         path: /uploads/media # http://media.sonata-project.org/  filesystem:     local:         directory:  %kernel.root_dir%/../web/uploads/media         create:     false 

the problem on sonata media bundle use "2.2.8" not "dev-master" on composer.json , run php composer.phar update


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -