bobvandevijver on master
Fixed documentation indentation… (compare)
bobvandevijver on master
Fixed documentation indentation… (compare)
tobias-93 on v2.5.1
tobias-93 on master
Add choice_translation_domain t… (compare)
bobvandevijver on v2.5.1
bobvandevijver on v2.5.1
bobvandevijver on 2.5.0
Argument 3 passed to Admingenerator\GeneratorBundle\Guesser\DoctrineFieldGuesser::__construct() must be of the type array, none given, called in appDevDebugProjectContainer.php
config.yml
, which probably contains an empty form_types
array specific for the doctrine ORM. (guessing you're using the ORM).
admingenerator_generator: # Admingenerator configuration
form_types:
doctrine_orm:
entity: Admingenerator\FormExtensionsBundle\Form\Type\Select2EntityType
form_types
, then you should have the defaults. Might also be that a simple complete cache clear solves your problem.
form_types
, yet it does not help. Here is my part of config.yml
admingenerator_generator:
# choose and enable at least one
use_propel: false
use_doctrine_orm: false
use_doctrine_odm: true
# add this line if you want to use assetic
base_admin_template: AppBundle::base_uncompressed.html.twig
dashboard_route: admin_dashboard
logout_route: fos_user_security_logout
knp_menu_alias: admin_menu
AdminGeneratorExtension
class: https://github.com/symfony2admingenerator/GeneratorBundle/blob/master/DependencyInjection/AdmingeneratorGeneratorExtension.php#L136