Notice: Undefined offset: 0 in /data/web/virtuals/88406/virtual/www/subdom/mytube/app/controllers/VideoController.php on line 44

Whoops, looks like something went wrong.

1/1 Twig_Error_Runtime in Template.php line 416: Impossible to invoke a method ("getId") on a NULL variable ("") in "video/detail.twig" at line 130

  1. in Template.php line 416
  2. at Twig_Template->getAttribute(null, 'getId', array(), 'method') in Environment.php(332) : eval()'d code line 256
  3. at __TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d->block_foot_js(array('forChildren' => false, 'video' => null, 'related' => array(), 'app' => object(Application)), array('head_title' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_title'), 'head_css' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_css'), 'head_js' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_js'), 'head_meta' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_meta'), 'head_og' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_og'), 'main' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_main'), 'foot_js' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_foot_js'))) in Template.php line 154
  4. at Twig_Template->displayBlock('foot_js', array('forChildren' => false, 'video' => null, 'related' => array(), 'app' => object(Application)), array('head_title' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_title'), 'head_css' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_css'), 'head_js' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_js'), 'head_meta' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_meta'), 'head_og' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_og'), 'main' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_main'), 'foot_js' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_foot_js'))) in Environment.php(332) : eval()'d code line 98
  5. at __TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8->doDisplay(array('forChildren' => false, 'video' => null, 'related' => array(), 'app' => object(Application)), array('head_title' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_title'), 'head_css' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_css'), 'head_js' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_js'), 'head_meta' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_meta'), 'head_og' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_og'), 'main' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_main'), 'foot_js' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_foot_js'))) in Template.php line 289
  6. at Twig_Template->displayWithErrorHandling(array('forChildren' => false, 'video' => null, 'related' => array(), 'app' => object(Application)), array('head_title' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_title'), 'head_css' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_css'), 'head_js' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_js'), 'head_meta' => array(object(__TwigTemplate_5bf834cd8f62191298035c547c1b3f664927eecdc22d60c5f410da70f7eecdf8), 'block_head_meta'), 'head_og' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_og'), 'main' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_main'), 'foot_js' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_foot_js'))) in Template.php line 263
  7. at Twig_Template->display(array('forChildren' => false, 'video' => null, 'related' => array(), 'app' => object(Application)), array('head_title' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_title'), 'head_og' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_og'), 'main' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_main'), 'foot_js' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_foot_js'))) in Environment.php(332) : eval()'d code line 35
  8. at __TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d->doDisplay(array('forChildren' => false, 'video' => null, 'related' => array(), 'app' => object(Application)), array('head_title' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_title'), 'head_og' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_og'), 'main' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_main'), 'foot_js' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_foot_js'))) in Template.php line 289
  9. at Twig_Template->displayWithErrorHandling(array('forChildren' => false, 'video' => null, 'related' => array(), 'app' => object(Application)), array('head_title' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_title'), 'head_og' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_head_og'), 'main' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_main'), 'foot_js' => array(object(__TwigTemplate_eb059d3f3e87dffe517fdf4d33fd04babf50cd3863e0f6f1d9f2e39f9d07aa8d), 'block_foot_js'))) in Template.php line 263
  10. at Twig_Template->display(array('forChildren' => false, 'video' => null, 'related' => array())) in Template.php line 274
  11. at Twig_Template->render(array('forChildren' => false, 'video' => null, 'related' => array())) in Environment.php line 293
  12. at Twig_Environment->render('video/detail.twig', array('forChildren' => false, 'video' => null, 'related' => array())) in Controller.php line 26
  13. at Controller->render('video/detail') in VideoController.php line 47
  14. at VideoController->detailAction('devcd_JIjTU') in index.php line 28
  15. at {closure}('devcd_JIjTU')
  16. at call_user_func_array(object(Closure), array('devcd_JIjTU')) in HttpKernel.php line 145
  17. at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 66
  18. at HttpKernel->handle(object(Request), '1', true) in Application.php line 503
  19. at Application->handle(object(Request)) in Application.php line 484
  20. at Application->run() in index.php line 30