Este es mi problema
yo segui al pie de letra la spaginas:
1)http://sonata-project.org/bundles/admin/master/doc/reference/installation.html
2)http://sonata-project.org/bundles/doctrine-orm-admin/master/doc/tutorial/creating_your_first_admin_class/installation.html
__________________________________________________ _____________________
tengo en mi archivo autoload.php :
.....
.....
'Sonata' => __DIR__.'/../vendor/bundles',
'Exporter' => __DIR__.'/../vendor/exporter/lib',
'Knp\Bundle' => __DIR__.'/../vendor/bundles',
'Knp\Menu' => __DIR__.'/../vendor/knp/menu/src',
.....
....
__________________________________________________ _________________________
tengo en mi archivo AppKernel.php
....
...
new Sonata\jQueryBundle\SonatajQueryBundle(),
new Sonata\AdminBundle\SonataAdminBundle(),
new Knp\Bundle\MenuBundle\KnpMenuBundle(),
new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdm inBundle(),
new Sonata\BlockBundle\SonataBlockBundle(),
new Sonata\CacheBundle\SonataCacheBundle(),
new Acme\MiBundle\AcmeMiBundle(),
...
..
__________________________________________________ _________________________
tengo en mi archivo config.yml :
..
..
services:
admin.alumno:
class: Acme\MiBundle\Admin\AlumnoAdmin
tag:
- {name: sonata.admin,manager_type: orm,group: General,label: Alumnos}
arguments: [null, Acme\MiBundle\Entity\Alumno, SonataAdminBundle:CRUD]
sonata_block:
default_contexts: [cms]
blocks:
sonata.admin.block.admin_list:
contexts: [admin]
#sonata.admin_doctrine_orm.block.audit:
# contexts: [admin]
sonata.block.service.text:
sonata.block.service.action:
sonata.block.service.rss:
# Some specific block from the SonataMediaBundle
#sonata.media.block.media:
#sonata.media.block.gallery:
#sonata.media.block.feature_media:
....
..
__________________________________________________ ___________________
en mi archivo routing.yml :
..
..
admin:
resource: '@SonataAdminBundle/Resources/config/routing/sonata_admin.xml'
prefix: /admin
_sonata_admin:
resource: .
type: sonata_admin
prefix: /admin
..
...
__________________________________________________ _________________________________________
Entonces cuando deseo ver la pagian de admin/dashboard me arroja este error:
Item "settings" for "Array" does not exist in SonataAdminBundle:Core:dashboard.html.twig at line 22
__________________________________________________ ___________________________________________-
propiedad 'seting' , en SonataAdminBundle:Core:dashboard.html.twig:
{% extends base_template %}
..
..
22. {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
..
..
{% endblock %}
__________________________________________________ _________--
gracias de antemano