Closed lukasz-zaroda closed 7 years ago
Please add the full stacktrace of your error @lukasz-zaroda
Symfony\Component\Debug\Exception\ContextErrorException:
Notice: Undefined index: course_id
at vendor/doctrine/orm/lib/Doctrine/ORM/Utility/IdentifierFlattener.php:92
at Doctrine\ORM\Utility\IdentifierFlattener->flattenIdentifier(object(ClassMetadata), array('student' => object(Student)))
(vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1461)
at Doctrine\ORM\UnitOfWork->getEntityState(object(StudentCourse))
(vendor/sonata-project/doctrine-orm-admin-bundle/Model/ModelManager.php:417)
at Sonata\DoctrineORMAdminBundle\Model\ModelManager->getNormalizedIdentifier(object(StudentCourse))
(src/AppBundle/Admin/StudentCourseAdmin.php:71)
at AppBundle\Admin\StudentCourseAdmin->getNormalizedIdentifier(object(StudentCourse))
(src/AppBundle/Admin/StudentCourseAdmin.php:81)
at AppBundle\Admin\StudentCourseAdmin->id(object(StudentCourse))
(vendor/twig/twig/lib/Twig/Extension/Core.php:1595)
at twig_get_attribute(object(Twig_Environment), object(Twig_Source), object(StudentCourseAdmin), 'id', array(object(StudentCourse)), 'method')
(var/cache/dev/twig/68/683da6dd03825d475a13708c122b69756c55674fde343409d3e497c89b63cbd2.php:60)
at __TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a->block_form(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), '_preview' => null, 'form_helper' => object(__TwigTemplate_397c866309b70af396836f9734b86dd914e02ed802123671e577d3a86c9ebc95)), array('html_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_html_attributes'), 'meta_tags' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_meta_tags'), 'stylesheets' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_javascripts'), 'sonata_javascript_config' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_config'), 'sonata_javascript_pool' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_pool'), 'sonata_head_title' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_head_title'), 'body_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_body_attributes'), 'sonata_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header'), 'sonata_header_noscript_warning' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header_noscript_warning'), 'logo' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_logo'), 'sonata_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_nav'), 'sonata_breadcrumb' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_breadcrumb'), 'sonata_top_nav_menu' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu'), 'sonata_top_nav_menu_add_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_add_block'), 'sonata_top_nav_menu_user_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_user_block'), 'sonata_wrapper' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_wrapper'), 'sonata_left_side' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_left_side'), 'sonata_side_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_side_nav'), 'sonata_sidebar_search' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_sidebar_search'), 'side_bar_before_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_before_nav'), 'side_bar_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_nav'), 'side_bar_after_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav'), 'side_bar_after_nav_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav_content'), 'sonata_page_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content'), 'sonata_page_content_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_header'), 'sonata_page_content_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_nav'), 'tab_menu_navbar_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_tab_menu_navbar_header'), 'sonata_admin_content_actions_wrappers' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content_actions_wrappers'), 'sonata_admin_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content'), 'notice' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_notice'), 'bootlint' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_bootlint'), 'sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(vendor/twig/twig/lib/Twig/Template.php:188)
at Twig_Template->displayBlock('parentForm', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), '_preview' => null), array('html_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_html_attributes'), 'meta_tags' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_meta_tags'), 'stylesheets' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_javascripts'), 'sonata_javascript_config' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_config'), 'sonata_javascript_pool' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_pool'), 'sonata_head_title' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_head_title'), 'body_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_body_attributes'), 'sonata_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header'), 'sonata_header_noscript_warning' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header_noscript_warning'), 'logo' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_logo'), 'sonata_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_nav'), 'sonata_breadcrumb' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_breadcrumb'), 'sonata_top_nav_menu' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu'), 'sonata_top_nav_menu_add_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_add_block'), 'sonata_top_nav_menu_user_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_user_block'), 'sonata_wrapper' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_wrapper'), 'sonata_left_side' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_left_side'), 'sonata_side_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_side_nav'), 'sonata_sidebar_search' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_sidebar_search'), 'side_bar_before_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_before_nav'), 'side_bar_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_nav'), 'side_bar_after_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav'), 'side_bar_after_nav_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav_content'), 'sonata_page_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content'), 'sonata_page_content_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_header'), 'sonata_page_content_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_nav'), 'tab_menu_navbar_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_tab_menu_navbar_header'), 'sonata_admin_content_actions_wrappers' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content_actions_wrappers'), 'sonata_admin_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content'), 'notice' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_notice'), 'bootlint' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_bootlint'), 'sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(var/cache/dev/twig/b2/b219358a72426fd2e865a1230623ad69682086f3ff85b3d4a78fa44db26f1136.php:162)
at __TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d->block_form(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), '_preview' => null), array('html_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_html_attributes'), 'meta_tags' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_meta_tags'), 'stylesheets' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_javascripts'), 'sonata_javascript_config' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_config'), 'sonata_javascript_pool' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_pool'), 'sonata_head_title' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_head_title'), 'body_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_body_attributes'), 'sonata_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header'), 'sonata_header_noscript_warning' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header_noscript_warning'), 'logo' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_logo'), 'sonata_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_nav'), 'sonata_breadcrumb' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_breadcrumb'), 'sonata_top_nav_menu' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu'), 'sonata_top_nav_menu_add_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_add_block'), 'sonata_top_nav_menu_user_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_user_block'), 'sonata_wrapper' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_wrapper'), 'sonata_left_side' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_left_side'), 'sonata_side_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_side_nav'), 'sonata_sidebar_search' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_sidebar_search'), 'side_bar_before_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_before_nav'), 'side_bar_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_nav'), 'side_bar_after_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav'), 'side_bar_after_nav_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav_content'), 'sonata_page_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content'), 'sonata_page_content_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_header'), 'sonata_page_content_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_nav'), 'tab_menu_navbar_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_tab_menu_navbar_header'), 'sonata_admin_content_actions_wrappers' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content_actions_wrappers'), 'sonata_admin_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content'), 'notice' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_notice'), 'bootlint' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_bootlint'), 'sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(vendor/twig/twig/lib/Twig/Template.php:188)
at Twig_Template->displayBlock('form', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), '_preview' => null), array('html_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_html_attributes'), 'meta_tags' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_meta_tags'), 'stylesheets' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_javascripts'), 'sonata_javascript_config' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_config'), 'sonata_javascript_pool' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_pool'), 'sonata_head_title' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_head_title'), 'body_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_body_attributes'), 'sonata_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header'), 'sonata_header_noscript_warning' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header_noscript_warning'), 'logo' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_logo'), 'sonata_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_nav'), 'sonata_breadcrumb' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_breadcrumb'), 'sonata_top_nav_menu' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu'), 'sonata_top_nav_menu_add_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_add_block'), 'sonata_top_nav_menu_user_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_user_block'), 'sonata_wrapper' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_wrapper'), 'sonata_left_side' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_left_side'), 'sonata_side_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_side_nav'), 'sonata_sidebar_search' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_sidebar_search'), 'side_bar_before_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_before_nav'), 'side_bar_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_nav'), 'side_bar_after_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav'), 'side_bar_after_nav_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav_content'), 'sonata_page_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content'), 'sonata_page_content_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_header'), 'sonata_page_content_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_nav'), 'tab_menu_navbar_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_tab_menu_navbar_header'), 'sonata_admin_content_actions_wrappers' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content_actions_wrappers'), 'sonata_admin_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content'), 'notice' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_notice'), 'bootlint' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_bootlint'), 'sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')), true)
(vendor/twig/twig/lib/Twig/Template.php:254)
at Twig_Template->renderBlock('form', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), '_preview' => null), array('html_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_html_attributes'), 'meta_tags' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_meta_tags'), 'stylesheets' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_javascripts'), 'sonata_javascript_config' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_config'), 'sonata_javascript_pool' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_pool'), 'sonata_head_title' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_head_title'), 'body_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_body_attributes'), 'sonata_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header'), 'sonata_header_noscript_warning' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header_noscript_warning'), 'logo' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_logo'), 'sonata_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_nav'), 'sonata_breadcrumb' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_breadcrumb'), 'sonata_top_nav_menu' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu'), 'sonata_top_nav_menu_add_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_add_block'), 'sonata_top_nav_menu_user_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_user_block'), 'sonata_wrapper' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_wrapper'), 'sonata_left_side' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_left_side'), 'sonata_side_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_side_nav'), 'sonata_sidebar_search' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_sidebar_search'), 'side_bar_before_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_before_nav'), 'side_bar_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_nav'), 'side_bar_after_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav'), 'side_bar_after_nav_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav_content'), 'sonata_page_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content'), 'sonata_page_content_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_header'), 'sonata_page_content_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_nav'), 'tab_menu_navbar_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_tab_menu_navbar_header'), 'sonata_admin_content_actions_wrappers' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content_actions_wrappers'), 'sonata_admin_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content'), 'notice' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_notice'), 'bootlint' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_bootlint'), 'sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(var/cache/dev/twig/a5/a5025cafe42257439c9e0b96080af8d9dfd88fab115995e35afaef7af40015ca.php:62)
at __TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66->doDisplay(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), '_preview' => null), array('html_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_html_attributes'), 'meta_tags' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_meta_tags'), 'stylesheets' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_javascripts'), 'sonata_javascript_config' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_config'), 'sonata_javascript_pool' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_pool'), 'sonata_head_title' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_head_title'), 'body_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_body_attributes'), 'sonata_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header'), 'sonata_header_noscript_warning' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header_noscript_warning'), 'logo' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_logo'), 'sonata_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_nav'), 'sonata_breadcrumb' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_breadcrumb'), 'sonata_top_nav_menu' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu'), 'sonata_top_nav_menu_add_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_add_block'), 'sonata_top_nav_menu_user_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_user_block'), 'sonata_wrapper' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_wrapper'), 'sonata_left_side' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_left_side'), 'sonata_side_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_side_nav'), 'sonata_sidebar_search' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_sidebar_search'), 'side_bar_before_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_before_nav'), 'side_bar_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_nav'), 'side_bar_after_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav'), 'side_bar_after_nav_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav_content'), 'sonata_page_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content'), 'sonata_page_content_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_header'), 'sonata_page_content_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_nav'), 'tab_menu_navbar_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_tab_menu_navbar_header'), 'sonata_admin_content_actions_wrappers' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content_actions_wrappers'), 'sonata_admin_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content'), 'notice' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_notice'), 'bootlint' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_bootlint'), 'sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(vendor/twig/twig/lib/Twig/Template.php:389)
at Twig_Template->displayWithErrorHandling(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('html_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_html_attributes'), 'meta_tags' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_meta_tags'), 'stylesheets' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_stylesheets'), 'javascripts' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_javascripts'), 'sonata_javascript_config' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_config'), 'sonata_javascript_pool' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_javascript_pool'), 'sonata_head_title' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_head_title'), 'body_attributes' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_body_attributes'), 'sonata_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header'), 'sonata_header_noscript_warning' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_header_noscript_warning'), 'logo' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_logo'), 'sonata_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_nav'), 'sonata_breadcrumb' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_breadcrumb'), 'sonata_top_nav_menu' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu'), 'sonata_top_nav_menu_add_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_add_block'), 'sonata_top_nav_menu_user_block' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_top_nav_menu_user_block'), 'sonata_wrapper' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_wrapper'), 'sonata_left_side' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_left_side'), 'sonata_side_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_side_nav'), 'sonata_sidebar_search' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_sidebar_search'), 'side_bar_before_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_before_nav'), 'side_bar_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_nav'), 'side_bar_after_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav'), 'side_bar_after_nav_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_side_bar_after_nav_content'), 'sonata_page_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content'), 'sonata_page_content_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_header'), 'sonata_page_content_nav' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_page_content_nav'), 'tab_menu_navbar_header' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_tab_menu_navbar_header'), 'sonata_admin_content_actions_wrappers' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content_actions_wrappers'), 'sonata_admin_content' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_sonata_admin_content'), 'notice' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_notice'), 'bootlint' => array(object(__TwigTemplate_44ebd81767e2841e3777428bf2565dd27ece37e55a5a3f9e074fa62cf77bdb66), 'block_bootlint'), 'sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(vendor/twig/twig/lib/Twig/Template.php:366)
at Twig_Template->display(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(var/cache/dev/twig/b2/b219358a72426fd2e865a1230623ad69682086f3ff85b3d4a78fa44db26f1136.php:51)
at __TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d->doDisplay(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(vendor/twig/twig/lib/Twig/Template.php:389)
at Twig_Template->displayWithErrorHandling(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array('sonata_form_action_url' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_action_url'), 'sonata_form_attributes' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_attributes'), 'sonata_pre_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_pre_fieldsets'), 'sonata_tab_content' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_tab_content'), 'sonata_post_fieldsets' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_post_fieldsets'), 'formactions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_formactions'), 'sonata_form_actions' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_sonata_form_actions'), 'parentForm' => array(object(__TwigTemplate_34ac7d8da295b822f2945c3f251ff224817560fc4b9874badf77ad700530378a), 'block_form'), 'title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_title'), 'navbar_title' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_navbar_title'), 'actions' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_actions'), 'tab_menu' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_tab_menu'), 'form' => array(object(__TwigTemplate_2407332988e119cf7da119d7e02629ee8494a9b64e55d4f458293e76ed60773d), 'block_form')))
(vendor/twig/twig/lib/Twig/Template.php:366)
at Twig_Template->display(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array())
(var/cache/dev/twig/3e/3eec31f52e3245feb6f5bed6764320e6eeb2c88e2610c31ef6a83071fefaec02.php:29)
at __TwigTemplate_e48c5fe22156d1d70fc1cc0e92d16a0bddbf4f08a37e93bc272777eb8bf30559->doDisplay(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array())
(vendor/twig/twig/lib/Twig/Template.php:389)
at Twig_Template->displayWithErrorHandling(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables)), array())
(vendor/twig/twig/lib/Twig/Template.php:366)
at Twig_Template->display(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool)))
(vendor/twig/twig/lib/Twig/Template.php:374)
at Twig_Template->render(array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool)))
(vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php:49)
at Symfony\Bridge\Twig\TwigEngine->render('SonataAdminBundle:CRUD:edit.html.twig', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool)))
(vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php:45)
at Symfony\Bundle\TwigBundle\TwigEngine->render('SonataAdminBundle:CRUD:edit.html.twig', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool)))
(vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php:72)
at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse('SonataAdminBundle:CRUD:edit.html.twig', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool)), object(Response))
(vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerTrait.php:234)
at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('SonataAdminBundle:CRUD:edit.html.twig', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool)), null)
(vendor/sonata-project/admin-bundle/Controller/CRUDController.php:77)
at Sonata\AdminBundle\Controller\CRUDController->render('SonataAdminBundle:CRUD:edit.html.twig', array('action' => 'create', 'form' => object(FormView), 'object' => object(StudentCourse), 'breadcrumbs_builder' => object(BreadcrumbsBuilder), 'admin' => object(StudentCourseAdmin), 'base_template' => 'SonataAdminBundle::standard_layout.html.twig', 'admin_pool' => object(Pool)), null)
(vendor/sonata-project/admin-bundle/Controller/CRUDController.php:574)
at Sonata\AdminBundle\Controller\CRUDController->createAction()
at call_user_func_array(array(object(CRUDController), 'createAction'), array())
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:153)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:171)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/app_dev.php:28)
There is also this Twig error runtime but this is only a consequence of the above.
I have the same Exception on a composite key form in dev environment. But the Exception is not raised in prod environment. Seems to be related to the IdentifierFlattener Class which try to convert foreign identifier to foreign key. I solved it by initialized in my classes my identifier to 0 or another value except null.
/**
* @var integer
*
* @ORM\Column(type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id = 0;
And then the notice is not generated by Doctrine.
I think this might be a Doctrine issue instead of a Sonata issue... the stack trace suggests so, because this course_id
is probably not provided by Sonata.
I think so yes : https://github.com/doctrine/doctrine2/issues/5631
Closing then
Environment
Sonata packages
Symfony packages
Doctrine version
PHP version
Subject
I have an entity with composite foreign primary key (this is important):
And an admin class:
Steps to reproduce
StudentCourse
entity and submit it with an emptyCourse
field.Expected results
Validation error, because this field cannot be empty.
Actual results
Observations
Exception comes from
Doctrine
trying to obtain entity state on the request ofSonata
, however I think this is problem with Sonata, because I have no problems with vanilla Symfony forms.In short,
admin.id(object)
is being run in the template, then Sonata tries to obtain objects id, and to determine Entity's state on the way -ModelManager
is doing this:When obtaining the entity's state at this moment, in
getEntityState
method,IdentifierFlattener
explodes.It might be a bug in Doctrine, but at the same time, I have no problems with forms outside of Sonata, so it might be that Sonata runs something at really bad moment.