Exception detected!

Impossible to access an attribute ("proveedor") on a null variable in AppBundle:Default:showdocumento.html.twig at line 7.

500 Internal Server Error - Twig_Error_Runtime

Stack Trace

  1. in app/cache/prod/classes.php at line 5612  -
    1. } else {
    2. $message sprintf('Impossible to access an attribute ("%s") on a %s variable ("%s").'$itemgettype($object), $object);
    3. }
    4. throw new Twig_Error_Runtime($message, -1$this->getTemplateName());
    5. }
    6. }
    7. if (!is_object($object)) {
  2. at Twig_Template ->getAttribute (null, 'proveedor', array())
    in app/cache/prod/twig/30/30821103012448d89c4f753032b8d507a4f797b07d0cb8c72537702b61564327.php at line 32  +
  3. at __TwigTemplate_9a50b739dbe007e9f76513a76d917410df173745694137dba51044a5449ae078 ->doDisplay (array('documento' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'gos_web_socket_server_host' => '127.0.0.1', 'gos_web_socket_server_port' => '5555', 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables)), array('stylesheets' => array(object(__TwigTemplate_9a50b739dbe007e9f76513a76d917410df173745694137dba51044a5449ae078), 'block_stylesheets'), 'postjavascripts' => array(object(__TwigTemplate_9a50b739dbe007e9f76513a76d917410df173745694137dba51044a5449ae078), 'block_postjavascripts')))
    in app/cache/prod/classes.php at line 5547  +
  4. at Twig_Template ->displayWithErrorHandling (array('documento' => null, 'assetic' => array('debug' => true, 'vars' => object(ValueContainer), 'use_controller' => false), 'wrap_fields_with_addons' => true, 'app' => object(AppVariable), 'gos_web_socket_server_host' => '127.0.0.1', 'gos_web_socket_server_port' => '5555', 'sonata_block' => object(GlobalVariables), 'sonata_admin' => object(GlobalVariables), 'sonata_user' => object(GlobalVariables)), array('stylesheets' => array(object(__TwigTemplate_9a50b739dbe007e9f76513a76d917410df173745694137dba51044a5449ae078), 'block_stylesheets'), 'postjavascripts' => array(object(__TwigTemplate_9a50b739dbe007e9f76513a76d917410df173745694137dba51044a5449ae078), 'block_postjavascripts')))
    in app/cache/prod/classes.php at line 5523  +
  5. at Twig_Template ->display (array('documento' => null))
    in app/cache/prod/classes.php at line 5530  +
  6. at Twig_Template ->render (array('documento' => null))
    in vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php at line 50  +
  7. at TwigEngine ->render ('AppBundle:Default:showdocumento.html.twig', array('documento' => null))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 72  +
  8. at TwigEngine ->render ('AppBundle:Default:showdocumento.html.twig', array('documento' => null))
    in vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php at line 97  +
  9. at TwigEngine ->renderResponse ('AppBundle:Default:showdocumento.html.twig', array('documento' => null), object(Response))
    in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 185  +
  10. at Controller ->render ('AppBundle:Default:showdocumento.html.twig', array('documento' => null))
    in src/AppBundle/Controller/DefaultController.php at line 445  +
  11. at DefaultController ->showDocumentoAction ('238')
  12. at call_user_func_array (array(object(DefaultController), 'showDocumentoAction'), array('238'))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 144  +
  13. at HttpKernel ->handleRaw (object(Request), '1')
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 64  +
  14. at HttpKernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php at line 69  +
  15. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 1501  +
  16. at Kernel ->handle (object(Request))
    in web/app.php at line 19  +

Logs  -

Stack Trace (Plain Text)  +