Notice: Undefined property: DefaultBundle\Controller\ContactController::$user in /var/www/html/copraudit/DefaultBundle/Controller/ContactController.php on line 65

Fatal error: Uncaught Error: Call to a member function get_id_droit() on null in /var/www/html/copraudit/DefaultBundle/Controller/ContactController.php:65 Stack trace: #0 [internal function]: DefaultBundle\Controller\ContactController->get_contact() #1 /var/www/html/copraudit/FrameWork/Core/Bundle.php(170): call_user_func_array(Array, Array) #2 /var/www/html/copraudit/FrameWork/Core/Bundle.php(132): FrameWork\Core\Bundle::call_method(Object(DefaultBundle\Controller\ContactController), 'get_contact', Array) #3 /var/www/html/copraudit/FrameWork/Core/Bundle.php(103): FrameWork\Core\Bundle::call_method_debug(Object(DefaultBundle\Controller\ContactController), 'get_contact', Array) #4 /var/www/html/copraudit/FrameWork/App.php(123): FrameWork\Core\Bundle->load_controller(Object(FrameWork\Routing\Router), Object(FrameWork\Routing\Request)) #5 /var/www/html/copraudit/FrameWork/App.php(49): FrameWork\App->load_bundle() #6 /var/www/html/copraudit/public/index.php(84): FrameWork\App::init() #7 {main} thrown in /var/www/html/copraudit/DefaultBundle/Controller/ContactController.php on line 65