APY / APYDataGridBundle

Symfony Datagrid Bundle
MIT License
492 stars 344 forks source link

Can't display grid #1021

Closed yanishouachine closed 4 years ago

yanishouachine commented 6 years ago

Hi,

I'v been trying to display the datagrid using ORM or verctor but i'm getting this error : Call to a member function getHash() on null.

The error occurs at \Twig\DataGridExtension.php (line 151)

Can you please help ?

Thank you in advance.

DonCallisto commented 6 years ago

Which version of this bundle are you using? A old one a suppose.

yanishouachine commented 6 years ago

I'm using version 3.1.2

DonCallisto commented 6 years ago

Strange as https://github.com/APY/APYDataGridBundle/blob/master/Twig/DataGridExtension.php#L151 hasn't any getHash line

yanishouachine commented 6 years ago

My bad i had some spaces at the beginning of the file the error now rises at vendor\apy\datagrid-bundle\Twig\DataGridExtension.php (line 167)

yanishouachine commented 6 years ago

Mybe this can help : actually the method initgrid is getting null parameters : initGrid(null, null, '', array())

DonCallisto commented 6 years ago

Show me where you're calling initGrid function

yanishouachine commented 6 years ago

I don't call it explicitly but here is my controller : public function myGridAction() { // Creates a simple grid based on your entity (ORM) $source = new Entity('IPSResidentBundle:Projet');

    // Get a Grid instance
    $grid = $this->get('grid');

    // Attach the source to the grid
    $grid->setSource($source);

    // Return the response of the grid to the template
    /* return $grid->getGridResponse('IPSResidentBundle:Resident:form.html.twig'); */

    return $this->render('IPSResidentBundle:Resident:form.html.twig', array(
        'grid' => $grid
            ));
}

and in template i simply do {{grid(grid)}}

I followed the getting started instructions.

DonCallisto commented 6 years ago

What $grid = $this->get('grid'); does?

yanishouachine commented 6 years ago

It gets a grid instance as commencted I know no more than that since i simply followed the instructions in :https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/index.md STEP 3

DonCallisto commented 6 years ago

Yeah right, sorry, I was thinking of something else, didn't noticed that it's service retrieval from container. Well, that's weird as you should have a Grid instance...

yanishouachine commented 6 years ago

No problem, yes exactly i'v been trying different configurations : feed the grid with a vector for exemple but still getting same exact error

yanishouachine commented 6 years ago

Any ideas ? i'm running out of options here...

DonCallisto commented 6 years ago

ATM, no ideas. Try to paste the whole stack trace in order to consider something that's clearly missing in our considerations.

yanishouachine commented 6 years ago

Thanks for your help here is the full stacktrace :

FatalThrowableError

Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function getHash() on null at vendor\apy\datagrid-bundle\Twig\DataGridExtension.php:168 at APY\DataGridBundle\Twig\DataGridExtension->initGrid(null, null, '', array()) (vendor\apy\datagrid-bundle\Twig\DataGridExtension.php:184) at APY\DataGridBundle\Twig\DataGridExtension->getGrid(object(Twig_Environment), null) (app\cache\dev\twig\51\5161dcf70b20a426583825dc3698db062d0c669830e1f27f081124b853c5db41.php:419) at TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c->block_block_contenu(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'stylesheets' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_stylesheets'), 'navbar_notification' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_notification'), 'navbar_user' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_user'), 'block_variable_environnement' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_variable_environnement'), 'navbar' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar'), 'block_menugauche' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_menugauche'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'block_button' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_button'), 'block_details' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_details'), 'bar_de_preference' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_bar_de_preference'), 'block_header' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_header'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'), 'footer' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_footer'), 'javascripts' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_javascripts'), 'dashboard' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_dashboard'), 'administrateur' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_administrateur'), 'organisation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_organisation'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'facturation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_facturation'), 'ressources' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_ressources'), 'edition' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_edition'), 'annexe' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_annexe'))) (vendor\twig\twig\lib\Twig\Template.php:189) at Twig_Template->displayBlock('block_contenu', array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'stylesheets' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_stylesheets'), 'navbar_notification' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_notification'), 'navbar_user' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_user'), 'block_variable_environnement' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_variable_environnement'), 'navbar' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar'), 'block_menugauche' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_menugauche'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'block_button' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_button'), 'block_details' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_details'), 'bar_de_preference' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_bar_de_preference'), 'block_header' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_header'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'), 'footer' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_footer'), 'javascripts' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_javascripts'), 'dashboard' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_dashboard'), 'administrateur' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_administrateur'), 'organisation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_organisation'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'facturation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_facturation'), 'ressources' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_ressources'), 'edition' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_edition'), 'annexe' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_annexe'))) (app\cache\dev\twig\49\496ed85246b96a7bff417a272f9eb3d70ef2c61516f521ac3bb00575e69a2a3b.php:194) at TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4->doDisplay(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'stylesheets' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_stylesheets'), 'navbar_notification' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_notification'), 'navbar_user' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_user'), 'block_variable_environnement' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_variable_environnement'), 'navbar' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar'), 'block_menugauche' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_menugauche'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'block_button' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_button'), 'block_details' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_details'), 'bar_de_preference' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_bar_de_preference'), 'block_header' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_header'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'), 'footer' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_footer'), 'javascripts' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_javascripts'), 'dashboard' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_dashboard'), 'administrateur' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_administrateur'), 'organisation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_organisation'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'facturation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_facturation'), 'ressources' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_ressources'), 'edition' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_edition'), 'annexe' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_annexe'))) (vendor\twig\twig\lib\Twig\Template.php:390) at Twig_Template->displayWithErrorHandling(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'stylesheets' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_stylesheets'), 'navbar_notification' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_notification'), 'navbar_user' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar_user'), 'block_variable_environnement' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_variable_environnement'), 'navbar' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_navbar'), 'block_menugauche' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_menugauche'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'block_button' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_button'), 'block_details' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_block_details'), 'bar_de_preference' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_bar_de_preference'), 'block_header' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_header'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'), 'footer' => array(object(TwigTemplate_ae07d63bdb286bd30415fb2a04f654a037a55c99361edd3c862f338f1836e0a4), 'block_footer'), 'javascripts' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_javascripts'), 'dashboard' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_dashboard'), 'administrateur' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_administrateur'), 'organisation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_organisation'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'facturation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_facturation'), 'ressources' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_ressources'), 'edition' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_edition'), 'annexe' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_annexe'))) (vendor\twig\twig\lib\Twig\Template.php:367) at Twig_Template->display(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('stylesheets' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_stylesheets'), 'bar_de_preference' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_bar_de_preference'), 'title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'block_header' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_header'), 'block_menugauche' => array(object(__TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_menugauche'), 'dashboard' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_dashboard'), 'administrateur' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_administrateur'), 'organisation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_organisation'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'facturation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_facturation'), 'ressources' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_ressources'), 'edition' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_edition'), 'annexe' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_annexe'), 'javascripts' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_javascripts'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'))) (app\cache\dev\twig\cf\cf61d6eb14c6ca8987589a7b0c5aed05ecda8d7221015dfcc931bc283be194d5.php:48) at TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac->doDisplay(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('stylesheets' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_stylesheets'), 'bar_de_preference' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_bar_de_preference'), 'title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'block_header' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_header'), 'block_menugauche' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_menugauche'), 'dashboard' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_dashboard'), 'administrateur' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_administrateur'), 'organisation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_organisation'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'facturation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_facturation'), 'ressources' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_ressources'), 'edition' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_edition'), 'annexe' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_annexe'), 'javascripts' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_javascripts'), 'block_contenu' => array(object(__TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'))) (vendor\twig\twig\lib\Twig\Template.php:390) at Twig_Template->displayWithErrorHandling(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('stylesheets' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_stylesheets'), 'bar_de_preference' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_bar_de_preference'), 'title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'block_header' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_header'), 'block_menugauche' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_block_menugauche'), 'dashboard' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_dashboard'), 'administrateur' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_administrateur'), 'organisation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_organisation'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'facturation' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_facturation'), 'ressources' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_ressources'), 'edition' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_edition'), 'annexe' => array(object(TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_annexe'), 'javascripts' => array(object(__TwigTemplate_77427eb484b9c50bb15f15b729b39e8b738c62ae4e9a5255cd0c205f737879ac), 'block_javascripts'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'))) (vendor\twig\twig\lib\Twig\Template.php:367) at Twig_Template->display(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'block_bread' => array(object(__TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'))) (app\cache\dev\twig\51\5161dcf70b20a426583825dc3698db062d0c669830e1f27f081124b853c5db41.php:37) at TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c->doDisplay(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'resident' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'block_contenu' => array(object(__TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'))) (vendor\twig\twig\lib\Twig\Template.php:390) at Twig_Template->displayWithErrorHandling(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView), 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => true), 'grid' => null, 'column' => null, 'row' => null, 'value' => null, 'submitOnChange' => null, 'withjs' => true, 'pagerfanta' => false, 'op' => 'eq', 'app' => object(AppVariable)), array('title' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_title'), 'block_bread' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_bread'), 'resident' => array(object(__TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_resident'), 'block_contenu' => array(object(TwigTemplate_42ff0d1bad54651af0977aa9926c6f4cbfba1de47a06efb461973d3a71c4617c), 'block_block_contenu'))) (vendor\twig\twig\lib\Twig\Template.php:367) at Twig_Template->display(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView))) (vendor\twig\twig\lib\Twig\Template.php:375) at Twig_Template->render(array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView))) (vendor\symfony\symfony\src\Symfony\Bridge\Twig\TwigEngine.php:49) at Symfony\Bridge\Twig\TwigEngine->render('IPSResidentBundle:Evaluation:add.html.twig', array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView))) (vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\TwigEngine.php:45) at Symfony\Bundle\TwigBundle\TwigEngine->render('IPSResidentBundle:Evaluation:add.html.twig', array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView))) (vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Controller\ControllerTrait.php:234) at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('IPSResidentBundle:Evaluation:add.html.twig', array('tableName' => 'evaluation', 'resident' => object(Resident), 'form' => object(FormView))) (src\IPS\ResidentBundle\Controller\EvaluationController.php:102) at IPS\ResidentBundle\Controller\EvaluationController->addEvaluationAction(object(Request)) (vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php:151) 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:169) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web\app_dev.php:29)

b-enoit-be commented 5 years ago

Are you on a route you are forwarding to ?

npotier commented 4 years ago

Hello @yanishouachine your issue is quite old, can you please tell us if you've found a solution to your issue ?

I'm closing it now. Feel free to reopen it if you still have the issue :)