Closed craigwillis85 closed 10 years ago
Hi I get the same problem, but with another template.
Variable "btn_add" does not exist in SonataDoctrineORMAdminBundle:CRUD:edit_orm_many_to_many.html.twig at line 19
This problems in all "relation" templates.
How to make it work?
To fix this bug, just update AdminBundle to "sonata-project/admin-bundle": "2.2.*@dev" in composer.json.
It does not work, please could indicate me how step by step how to do it?. Sorry for my bad english.
Variable "btn_add" does not exist in SonataDoctrineORMAdminBundle:CRUD:edit_orm_many_to_many.html.twig at line 15 500 Internal Server Error - Twig_Error_Runtime
I try include in my PostAdmin a form to upload a Media, of SonataMediaBundle. with:
->add('image', 'sonata_type_admin');
And I get this error... is relationed ?
How can I embed another for Media in the form of adminBundle ?
I use SonataMediaBundle and SonataMediaBundle.
Thanks in advance
In the documentation there are an example http://sonata-project.org/bundles/admin/master/doc/_images/preview_mode_button.png
But I do not found how do it !
Variable "btn_add" does not exist in SonataDoctrineORMAdminBundle:CRUD:edit_orm_many_to_many.html.twig at line 15
I got this error when I installed sonata only by requiring "sonata-project/doctrine-orm-admin-bundle": "dev-master", because it automatically installs dependencies.
I just added "sonata-project/admin-bundle": "dev-master" than run the composer update command and that resolved the issue for me.
Should be fixed by now.
Hi
I've followed the installation and when I try to edit anything, I get the following:
Variable "btn_add" does not exist in SonataDoctrineORMAdminBundle:CRUD:edit_orm_many_to_one.html.twig at line 46