I got the error message The form's view data is expected to be of type scalar, array or an instance of \ArrayAccess, but is an instance of class Admingenerator\DoctrineOrmDemoBundle\Entity\Tag. You can avoid this error by setting the "data_class" option to "Admingenerator\DoctrineOrmDemoBundle\Entity\Tag" or by adding a view transformer that transforms an instance of class Admingenerator\DoctrineOrmDemoBundle\Entity\Tag to scalar, array or an instance of \ArrayAccess. executing http://generator.dev/app_dev.php/doctrine-orm/post/1/edit
I got the error message
The form's view data is expected to be of type scalar, array or an instance of \ArrayAccess, but is an instance of class Admingenerator\DoctrineOrmDemoBundle\Entity\Tag. You can avoid this error by setting the "data_class" option to "Admingenerator\DoctrineOrmDemoBundle\Entity\Tag" or by adding a view transformer that transforms an instance of class Admingenerator\DoctrineOrmDemoBundle\Entity\Tag to scalar, array or an instance of \ArrayAccess.
executing http://generator.dev/app_dev.php/doctrine-orm/post/1/edit