Error 500 Internal Server Error

GET https://www.vidstatus.co.in/video/kirtidan-gadhvi-kirtidan-gadhvi-pushpraj-new-funny-video-song/

Exceptions

Impossible to access an attribute ("descTitle") on a null variable in front/video-detail.html.twig at line 3.

Exception

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#1391
  -lineno: 3
  -rawMessage: "Impossible to access an attribute ("descTitle") on a null variable."
  -source: Twig\Source {#1353
    -code: """
      \n
      {% extends app.request.isXmlHttpRequest ? 'front/layout/ajax.html.twig' : 'front/layout/layout.html.twig' %}\n
      {% block title %} {{ video.title }} - {{ video.language.displayName }} - {{ video.category.descTitle}} {% endblock title %}\n
        {% block meta %}\n
         <meta http-equiv="X-UA-Compatible" content="IE=edge">\n
         <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">\n
         <meta name="author" content="Kalpesh Bhaliya">\n
         <meta name="description" content="{{ video.title }} Status Video Song Free Download, {{ video.language.name }},{{ video.language.slug }} whatsapp status, {{ video.title }} Mp4 short videos for whatsapp status, Best 30 seconds Whatsapp,Instagram and Facebook status HD Mp4 videos"/>\n
         <meta name="keywords" content="{{ video.language.slug }} whatsapp video status,{{ video.language.name }},30 second video status,{% for cat in video.category %} {{ cat.name }}, {% endfor %}{% for tag in video.tags %} {{ tag.name }}, {% endfor %},whatsapp status" />\n
      \n
         <link rel="canonical" href="https://vidstatus.co.in/" />\n
         <meta property="og:locale" content="en_US" />\n
         <meta property="og:type" content="website" />\n
         <meta property="og:title" content="{{ video.title }}" />\n
       \n
         <meta property="og:image" content="  https://www.vidstatus.co.in/uploads/video-image/{{ video.picture }}" />\n
         <meta property="og:description" content="{{ video.title }} Status Video Song Free Download, {{ video.language.name }},{{ video.language.slug }} whatsapp status, {{ video.title }} Mp4 short videos for whatsapp status, Best 30 seconds Whatsapp,Instagram and Facebook status HD Mp4 videos" />\n
         <meta property="og:url" content="{{ app.request.uri }}" />\n
         <meta property="og:site_name" content="www.vidstatus.co.in" />\n
         <meta property="article:published_time" content="{{ video.updatedAt|date("Y-m-d H:i:s") }}" />\n
      \n
      \n
         <meta property="og:type" content="video.other">\n
         <meta property="og:video:url" content="{{ app.request.uri }}">\n
         <meta property="og:video:secure_url" content="{{ app.request.uri }}">\n
         <meta property="og:video:type" content="text/html">\n
      \n
          <meta property="og:video:tag" content="{{ video.category.name}}">\n
          <meta property="og:video:tag" content="{{ video.category.name}} whatsapp video">\n
          <meta property="og:video:tag" content="{{ video.category.name}} 30 Second video">\n
          <meta property="og:video:tag" content="{{ video.category.name}} free download">\n
          <meta property="og:video:tag" content="{{ video.category.name}} status video download">\n
          <meta property="og:video:tag" content="{{ video.category.name}} whatsapp video status">\n
          <meta property="og:video:tag" content="{{ video.category.name}} whatsapp video">\n
          <meta property="og:video:tag" content="{{ video.category.name}} video status">\n
          <meta property="og:video:tag" content="{{ video.category.name}} video">\n
      \n
         {% for tag in video.tags %}\n
          <meta property="og:video:tag" content="{{ tag.name }}">\n
        {% endfor %}\n
        <meta name="language" content="en" />\n
      {% endblock meta %}\n
      {% block body %}    \n
          <div class="main-container container pt-24 mb-24" id="main-container">\n
              <!-- Content -->\n
              <div class="row">\n
                  <!-- Posts -->\n
                  <div class="col-lg-8 blog_content">\n
                      <!-- Popular Videos -->\n
                      <section class="section">    \n
                          <div class="row">\n
                              <div class="col-md-12 col-12 mb-16">\n
                                  {% if video.filePath == '' %}\n
                                      <video width="100%" controls="" preload="none" poster="/uploads/video-image/{{ video.picture }}" data-setup="{"fluid": "true"}">\n
                                      <source src="/uploads/video/{{ video.fileName }}" type="video/mp4">\n
                                          <source src="/uploads/video/{{ video.fileName }}" type="video/webm">\n
                                          Your browser does not support the video tag.\n
                                          </video>\n
                                  {% else %}\n
                                      <video width="100%" controls="" preload="none" poster="/uploads/video-image/{{ video.picture }}" data-setup="{"fluid": "true"}">\n
                                      <source src="/uploads/video/{{video.filePath}}{{ video.fileName }}" type="video/mp4">\n
                                      <source src="/uploads/video/{{video.filePath}}{{ video.fileName }}" type="video/webm">\n
                                          Your browser does not support the video tag.\n
                                      </video>\n
                                  {% endif %}\n
                              </div>    \n
                              <div class="col-md-12 col-12 ">       \n
                                      <div class="left-side">\n
                                          <div class="author-details no-pad">\n
                                              <div class="single-post_entry-header entry_header">                                \n
                                                  <div class="entry_meta-holder">\n
                                                      <div class="cat-view">\n
                                                          <ul class="entry_meta">                                                    \n
                                                              {% if video.category.hasChild %}\n
                                                                  <li class="entry_meta-author"><a href="{{ path('sub_category_list',{'slug':video.category.slug}) }}">{{ video.category.name}}</a></li>\n
                                                              {% else %}\n
                                                                  <li class="entry_meta-author"><a href="{{ path('category_wise_list',{'slug':video.category.slug}) }}">{{ video.category.name}}</a></li>\n
                                                              {% endif %}                                                         \n
                                                          </ul>\n
                                                      </div>\n
      \n
                                                      <ul class="entry_meta like-unlikes">\n
                                                          <li class="entry_meta-views like-unlike like-unlike-up"><a href="javascript:;"><i class="far fa-thumbs-up"></i><span class="like-counts" data-like="{{ video.totalLike }}">{{ video.totalLike }}</span></a></li>\n
                                                          <li class="entry_meta-views like-unlike like-unlike-down"><a href="javascript:;"><i class="far fa-thumbs-down"></i><span class="dislike-counts" data-dislike="{{ video.totalDisLike }}">{{ video.totalDisLike }}<span></a></li>\n
      \n
                                                          <li class="entry_meta-views"><i class="fa fa-hdd"></i><span>{{ video.fileSize }}</span></li>\n
                                                          <li class="entry_meta-comments"><i class="fa fa-download"></i>{{ video.totalDownload }} Downloads</li>\n
                                                      </ul>\n
                                                  </div>\n
                                              </div>\n
                                              <h1 class="single-post_entry-title">{{ video.title}}</h1>\n
                                              <a class="btn btn-lg btn-color" href="{{ path('video_download',{'slug':video.slug}) }}" ><span><i class="fa fa-download"></i> Download</span></a>\n
                                              <a class="btn btn-lg whatsapp-btn" href="whatsapp://send?text={{ video.title }} {{ app.request.uri }}  *----------------------------------*  *Download free Daily WhatsApp Status from our website* https://www.vidstatus.co.in" ><span>Share in <i class="fab fa-whatsapp"></i> WhatsApp</span></a>\n
                                          </div>\n
                                      </div> \n
      \n
                                      <div class="row button-outer">\n
                                          {% if video.festival != null %}\n
                                              <div class="col-md-4">\n
                                                  <a href="{{ path('festival_wise_list',{'slug':video.festival.slug}) }}"class="button-link"><span>{{ video.festival.name }} Status</span></a> \n
                                              </div>\n
                                           {% endif %}\n
                                           {% if video.singer != null %}\n
                                              <div class="col-md-4">\n
                                                  <a href="{{ path('singer_wise_list',{'slug':video.singer.slug}) }}"class="button-link"><span>{{ video.singer.name }}'s Status</span></a> \n
                                              </div>\n
                                          {% endif %}\n
                                      \n
                                      </div> \n
                                      <div class="row">\n
      \n
                      \t\t\t\t</div>\n
      \n
      \t\t\t\t\n
                                      <div class="entry_tags">\n
                                          <i class="ui-tags"></i>\n
                                          <span class="entry_tags-label">Tags:</span>\n
                                          {% for tag in video.tags %}\n
                                              <a href="{{ path('topic_wise_list',{'slug':tag.slug}) }}" rel="tag">{{ tag.name }}</a>\n
                                          {% endfor %}\n
                                      </div> <!-- end tags -->\n
      \n
                                  <div class="social-media">\n
                                      <a class="social social-facebook" href="https://www.facebook.com/share.php?u={{ app.request.uri }}&title={{video.title}}" target="_blank" aria-label="facebook">\n
                                          <i class="fab fa-facebook"></i>\n
                                      </a>\n
                                      <a class="social social-twitter" href="https://twitter.com/intent/tweet?status={{video.title}}+{{app.request.uri}}" target="_blank" aria-label="twitter">\n
                                          <i class="fab fa-twitter"></i>\n
                                      </a>\n
                                      <a class="social social-google-plus" href="https://plus.google.com/share?url={{app.request.uri}}" target="_blank" aria-label="google">\n
                                          <i class="fab fa-google"></i>\n
                                      </a>\n
                                      <a class="social social-youtube" href="https://www.linkedin.com/shareArticle?mini=true&url={{app.request.uri}}&title={{video.title}}&source={{video.title}}" target="_blank" aria-label="youtube">\n
                                          <i class="fab fa-linkedin"></i>\n
                                      </a>\n
                                  </div>                                    \n
                              </div>\n
                          </div>\n
      \n
                          <div class="title-wrap title-wrap--line title-wrap--pr mt-16">\n
                              <h3 class="section-title">Related Videos</h3>\n
                          </div>\n
                           {% set relatedVideos =  relatedVideos(video.category.id, video.id, 6) %}\n
                          <div class="row row-20">\n
                              {% for video in relatedVideos %}\n
                                  {% include 'front/includes/video-list-inner.html.twig' %}\n
                              {% endfor %}                        \n
                          </div>\n
                          \n
                          {% set comments = getComments(video.id,'video') %}                \n
                          <div class="entry-comments">\n
                              <div class="title-wrap title-wrap--line">\n
                                  <h3 class="section-title"><span id="comment-count" data-count="{{ comments|length }}">{{ comments|length }}</span> comment(s)</h3>\n
                              </div>                \n
                              {% include 'front/includes/comments.html.twig' %}                              \n
                          </div>\n
                          {% set objType = 'video' %}\n
                          {% set objId = video.id %}\n
                          {% include 'front/includes/comments-form.html.twig' %}\n
                      </section>\n
                      <!-- end popular videos -->\n
                  </div>\n
                  <!-- end posts -->\n
                  <!-- Sidebar -->            \n
                  <aside class="col-lg-4 sidebar sidebar--right">\n
                      {% include 'front/includes/sidebar-tab.html.twig' %}\n
                      <h4 class="widget-title">Latest Videos</h4>                    \n
                      <ul class="post-list-small post-list-small--2">\n
                          {% set latestVideos = latestVideos(5) %}\n
                          {% for video in latestVideos %}\n
                              {% include 'front/includes/video-list-sidebar.html.twig' %}\n
                          {% endfor %}\n
                      </ul>\n
                  </aside>\n
                  <!-- end sidebar -->\n
              </div>\n
              <!-- end content -->\n
          </div>\n
      {% endblock body %}   \n
      {% block script %}\n
      <script type="text/javascript">\n
      $(document).ready(function(){\n
      \n
          $.ajax({\n
              type:'GET',\n
              url:'{{ path('get_like_unlike',{'id':video.id}) }}',\n
              success:function(html){\n
                  if(html.isLike == true){\n
                      $('.like-unlike-up a i').removeClass('far');\n
                      $('.like-unlike-up a i').addClass('fas');\n
                      $('.like-unlike-up a span').addClass('has-exist');\n
                  }\n
      \n
                  if(html.isDisLike == true){\n
                      $('.like-unlike-down a i').removeClass('far');\n
                      $('.like-unlike-down a i').addClass('fas');\n
                      $('.like-unlike-up a span').addClass('has-exist');\n
                  }\n
              }\n
          });\n
      \n
          $('.like-unlike-up').on('click', function(){\n
                  if($('.fa-thumbs-up').hasClass('far')){\n
                      if($('.like-unlike-down a i').hasClass('fas')){\n
                          $('.like-unlike-down a i').removeClass('fas');\n
                          $('.like-unlike-down a i').addClass('far');\n
                          var val = $('.like-unlike-down a span').data('dislike');\n
                          $('.like-unlike-down a span').text(parseInt(val));\n
      \n
                          if($('.like-unlike-down a span').hasClass('has-exist')){\n
                              $('.like-unlike-down a span').text(parseInt(val) - 1); \n
                              //$('.like-unlike-down a span').data('dislike',parseInt(val) - 1); \n
                          } else {\n
                              $('.like-unlike-down a span').text(parseInt(val));       \n
                              //$('.like-unlike-down a span').data('dislike',parseInt(val)); \n
                          }\n
      \n
                          $.ajax({\n
                              type:'GET',\n
                              url:'{{ path('dislikes',{'id':video.id,'type':'unlike'}) }}',\n
                              success:function(html){\n
                                  $('#appbundle_videos_subCategory').html(html);\n
                              }\n
                          });\n
                      }\n
      \n
                      $('.fa-thumbs-up').removeClass('far');\n
                      $('.fa-thumbs-up').addClass('fas');\n
                      var val = $('.like-unlike-up a span').data('like');\n
                      $('.like-unlike-up a span').text(parseInt(val)+1);\n
      \n
                      $.ajax({\n
                          type:'GET',\n
                          url:'{{ path('like_unlike',{'id':video.id,'type':'like'}) }}',\n
                          success:function(html){\n
                              $('#appbundle_videos_subCategory').html(html);\n
                          }\n
                      });\n
                      \n
                  } else if($('.like-unlike-up a i').hasClass('fas')){\n
      \n
                      $('.like-unlike-up a i').removeClass('fas');\n
                      $('.like-unlike-up a i').addClass('far');\n
                      var val = $('.like-unlike-up a span').data('like');\n
                      $('.like-unlike-up a span').text(parseInt(val));\n
                      $.ajax({\n
                          type:'GET',\n
                          url:'{{ path('dislikes',{'id':video.id,'type':'like'}) }}',\n
                          success:function(html){\n
                              $('#appbundle_videos_subCategory').html(html);\n
                          }\n
                      });\n
                  }\n
                  \n
          });\n
      \n
          $('.like-unlike-down').on('click', function(){\n
      \n
                  if($('.fa-thumbs-down').hasClass('far')){\n
                      \n
                      if($('.like-unlike-up a i').hasClass('fas')){                    \n
                          $('.like-unlike-up a i').removeClass('fas');\n
                          $('.like-unlike-up a i').addClass('far');\n
                          var val = $('.like-unlike-up a span').data('like');\n
                          \n
                          if($('.like-unlike-up a span').hasClass('has-exist')){\n
                              $('.like-unlike-up a span').text(parseInt(val) - 1); \n
                             // $('.like-unlike-up a span').data('like',parseInt(val) - 1); \n
                          } else {\n
                              $('.like-unlike-up a span').text(parseInt(val));       \n
                             // $('.like-unlike-up a span').data('like',parseInt(val)); \n
                          }\n
      \n
                          $.ajax({\n
                              type:'GET',\n
                              url:'{{ path('dislikes',{'id':video.id,'type':'like'}) }}',\n
                              success:function(html){\n
                                  $('#appbundle_videos_subCategory').html(html);\n
                              }\n
                          });             \n
                      }  \n
      \n
                      $('.fa-thumbs-down').removeClass('far');\n
                      $('.fa-thumbs-down').addClass('fas');\n
                      var val = $('.like-unlike-down a span').data('dislike');\n
                      $('.like-unlike-down a span').text(parseInt(val)+1);\n
      \n
                      $.ajax({\n
                          type:'GET',\n
                          url:'{{ path('like_unlike',{'id':video.id,'type':'dislike'}) }}',\n
                          success:function(html){\n
                              $('#appbundle_videos_subCategory').html(html);\n
                          }\n
                      });\n
                      \n
                  } else if($('.like-unlike-down a i').hasClass('fas')){\n
        \n
                      $('.like-unlike-down a i').removeClass('fas');\n
                      $('.like-unlike-down a i').addClass('far');\n
                      var val = $('.like-unlike-down a span').data('dislike');\n
                      $('.like-unlike-down a span').text(parseInt(val));\n
      \n
                      $.ajax({\n
                          type:'GET',\n
                          url:'{{ path('dislikes',{'id':video.id,'type':'dislike'}) }}',\n
                          success:function(html){\n
                              $('#appbundle_videos_subCategory').html(html);\n
                          }\n
                      });\n
                  }\n
      \n
      \n
          });\n
      \n
      });\n
      </script>\n
      {% endblock %}\n
      """
    -name: "front/video-detail.html.twig"
    -path: "/home/h73hwg3vm18u/public_html/vidstatus.co.in/templates/front/video-detail.html.twig"
  }
  -phpFile: "/home/h73hwg3vm18u/public_html/vidstatus.co.in/vendor/twig/twig/src/Extension/CoreExtension.php"
  -phpLine: 1749
}
  1. {% extends app.request.isXmlHttpRequest ? 'front/layout/ajax.html.twig' : 'front/layout/layout.html.twig' %}
  2. {% block title %} {{ video.title }} - {{ video.language.displayName }} - {{ video.category.descTitle}} {% endblock title %}
  3. {% block meta %}
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <meta name="author" content="Kalpesh Bhaliya">
  7. <meta name="description" content="{{ video.title }} Status Video Song Free Download, {{ video.language.name }},{{ video.language.slug }} whatsapp status, {{ video.title }} Mp4 short videos for whatsapp status, Best 30 seconds Whatsapp,Instagram and Facebook status HD Mp4 videos"/>
  1. yield " ";
  2. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["video"]) || array_key_exists("video", $context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.', 3, $this->source); })()), "title", [], "any", false, false, false, 3), "html", null, true);
  3. yield " - ";
  4. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["video"]) || array_key_exists("video", $context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.', 3, $this->source); })()), "language", [], "any", false, false, false, 3), "displayName", [], "any", false, false, false, 3), "html", null, true);
  5. yield " - ";
  6. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["video"]) || array_key_exists("video", $context) ? $context["video"] : (function () { throw new RuntimeError('Variable "video" does not exist.', 3, $this->source); })()), "category", [], "any", false, false, false, 3), "descTitle", [], "any", false, false, false, 3), "html", null, true);
  7. yield " ";
  8. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> block_title (line 446)
  1. throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2. }
  3. if (null !== $template) {
  4. try {
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. <html lang=\"en\">
  2. <head>
  3. <title>";
  4. // line 5
  5. yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  6. yield "</title>
  7. <meta charset=\"utf-8\">
  8. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\" />
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/video-detail.html.twig"));
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  3. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/video-detail.html.twig"));
  4. yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 373)
  1. ob_start();
  2. } else {
  3. ob_start(static function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/DefaultController.php (line 49)
  1. $video = $em->getRepository('App\Entity\Video')->findOneBy(['slug'=>$slug]);
  2. $video->setTotalView($video->getTotalView() + 1);
  3. $em->persist($video);
  4. $em->flush();
  5. return $this->render('front/video-detail.html.twig', [
  6. 'video'=>$video
  7. ]);
  8. }
  9. #[Route("/category/", name: "category_list")]
in vendor/symfony/http-kernel/HttpKernel.php -> videoDetailAction (line 183)
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/h73hwg3vm18u/public_html/vidstatus.co.in/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 03:44:21 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "00eab6"
    },
    "request_uri": "https://vidstatus.co.in/_profiler/00eab6",
    "method": "GET"
}
INFO 03:44:21 deprecation User Deprecated: The annotation mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to the attribute or XML driver. (AnnotationDriver.php:65 called by App_KernelDevDebugContainer.php:1708, https://github.com/doctrine/orm/issues/10098, package doctrine/orm)
{
    "exception": {}
}

Stack Trace

RuntimeError
Twig\Error\RuntimeError:
Impossible to access an attribute ("descTitle") on a null variable in "front/video-detail.html.twig" at line 3.

  at templates/front/video-detail.html.twig:3
  at Twig\Extension\CoreExtension::getAttribute()
     (var/cache/dev/twig/11/112a644c3f325499ac73eb1c11c673d0.php:82)
  at __TwigTemplate_0a681d6e3dbfb497d3247ef0c5da899d->block_title()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/98/984088cc7732dd3050f1ed15586532eb.php:59)
  at __TwigTemplate_4d76e9cd93a6cd1dc9fb00472e10c149->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/11/112a644c3f325499ac73eb1c11c673d0.php:55)
  at __TwigTemplate_0a681d6e3dbfb497d3247ef0c5da899d->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:358)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:373)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:284)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/DefaultController.php:49)
  at App\Controller\DefaultController->videoDetailAction()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:193)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/home/h73hwg3vm18u/public_html/vidstatus.co.in/vendor/autoload_runtime.php')
     (public/index.php:5)