opcodesio/log-viewer

Lots of raw HTML tags inside Stacktrace

BippyMiester opened this issue · 4 comments

This is what my stacktrace looks like:

Attempt to read property "avatar" on null {"view":{"view":"I:\\Sites\\RustMetricsPro\\resources\\views\\partials\\dashboard2\\navbar.blade.php","data":{"errors":"<pre class=sf-dump id=sf-dump-230239133 data-indent-pad=\"  \"><span class=sf-dump-note>Illuminate\\Support\\ViewErrorBag</span> {<a class=sf-dump-ref>#460</a><samp data-depth=1 class=sf-dump-expanded>
  #<span class=sf-dump-protected title=\"Protected property\">bags</span>: []
</samp>}
</pre><script>Sfdump(\"sf-dump-230239133\", {\"maxDepth\":3,\"maxStringLength\":160})</script>
","exception":"<pre class=sf-dump id=sf-dump-1657730610 data-indent-pad=\"  \"><span class=sf-dump-note>Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException</span> {<a class=sf-dump-ref>#378</a><samp data-depth=1 class=sf-dump-expanded>
  #<span class=sf-dump-protected title=\"Protected property\">message</span>: \"<span class=sf-dump-str title=\"63 characters\">The route css/webfonts/fa-regular-400.woff2 could not be found.</span>\"
  #<span class=sf-dump-protected title=\"Protected property\">code</span>: <span class=sf-dump-num>0</span>
  #<span class=sf-dump-protected title=\"Protected property\">file</span>: \"<span class=sf-dump-str title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\AbstractRouteCollection.php
99 characters\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Routing\\AbstractRouteCollection.php</span>\"
  #<span class=sf-dump-protected title=\"Protected property\">line</span>: <span class=sf-dump-num>44</span>
  -<span class=sf-dump-private title=\"Private property defined in class:&#10;`Symfony\\Component\\HttpKernel\\Exception\\HttpException`\">statusCode</span>: <span class=sf-dump-num>404</span>
  -<span class=sf-dump-private title=\"Private property defined in class:&#10;`Symfony\\Component\\HttpKernel\\Exception\\HttpException`\">headers</span>: []
  <span class=sf-dump-meta>trace</span>: {<samp data-depth=2 class=sf-dump-compact>
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\AbstractRouteCollection.php:44
Stack level 26.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Routing\\AbstractRouteCollection.php:44</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Routing\\AbstractRouteCollection-&gt;handleMatchedRoute(Request $request, $route)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Routing</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>AbstractRouteCollection-&gt;handleMatchedRoute(Request $request, $route)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\AbstractRouteCollection-&gt;handleMatchedRoute(Request $request, $route)\">throw new NotFoundHttpException(sprintf(</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>    &#039;The route %s could not be found.&#039;,</span></code>
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\RouteCollection.php:162
Stack level 25.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Routing\\RouteCollection.php:162</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Routing\\RouteCollection-&gt;match(Request $request)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Routing</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>RouteCollection-&gt;match(Request $request)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\RouteCollection-&gt;match(Request $request)\">    return $this-&gt;handleMatchedRoute($request, $route);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>}</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;2}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php:761
Stack level 24.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Routing\\Router.php:761</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Routing\\Router-&gt;findRoute($request)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Routing</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>Router-&gt;findRoute($request)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\Router-&gt;findRoute($request)\">$this-&gt;current = $route = $this-&gt;routes-&gt;match($request);</span></code>
      &#8250; 
      <span class=sf-dump-meta>arguments</span>: { &#8230;1}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php:748
Stack level 23.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Routing\\Router.php:748</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Routing\\Router-&gt;dispatchToRoute(Request $request)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Routing</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>Router-&gt;dispatchToRoute(Request $request)</span> &#8230;
      &#8250; <code class=\"php\"><span class=sf-dump-default>{</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\Router-&gt;dispatchToRoute(Request $request)\">    return $this-&gt;runRoute($request, $this-&gt;findRoute($request));</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>}</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;1}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php:737
Stack level 22.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Routing\\Router.php:737</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Routing\\Router-&gt;dispatch(Request $request)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Routing</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>Router-&gt;dispatch(Request $request)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\Router-&gt;dispatch(Request $request)\">    return $this-&gt;dispatchToRoute($request);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>}</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;1}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php:200
Stack level 21.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Foundation\\Http\\Kernel.php:200</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Foundation\\Http\\Kernel-&gt;Illuminate\\Foundation\\Http\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Foundation\\Http\\Kernel-&gt;Illuminate\\Foundation\\Http</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Kernel-&gt;Illuminate\\Foundation\\Http\\{closure}\">    return $this-&gt;router-&gt;dispatch($request);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>};</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;1}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php:144
Stack level 20.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Pipeline\\Pipeline.php:144</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> &#8230;
      &#8250; <code class=\"php\"><span class=sf-dump-default>try {</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}\">    return $destination($passable);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>} catch (Throwable $e) {</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;1}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php:21
Stack level 19.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php:21</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle($request, Closure $next)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Foundation\\Http\\Middleware</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>TransformsRequest-&gt;handle($request, Closure $next)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle($request, Closure $next)\">    return $next($request);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>}</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;1}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php:31
Stack level 18.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php:31</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull-&gt;handle($request, Closure $next)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Foundation\\Http\\Middleware</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>ConvertEmptyStringsToNull-&gt;handle($request, Closure $next)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull-&gt;handle($request, Closure $next)\">    return parent::handle($request, $next);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>}</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;2}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php:183
Stack level 17.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Pipeline\\Pipeline.php:183</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> &#8230;
      &#8250; <code class=\"php\"><span class=sf-dump-default>$carry = method_exists($pipe, $this-&gt;method)</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}\">                ? $pipe-&gt;{$this-&gt;method}(...$parameters)</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>                : $pipe(...$parameters);</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;2}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php:21
Stack level 16.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php:21</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle($request, Closure $next)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Foundation\\Http\\Middleware</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>TransformsRequest-&gt;handle($request, Closure $next)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest-&gt;handle($request, Closure $next)\">    return $next($request);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>}</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;1}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php:40
Stack level 15.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php:40</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Foundation\\Http\\Middleware\\TrimStrings-&gt;handle($request, Closure $next)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Foundation\\Http\\Middleware</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>TrimStrings-&gt;handle($request, Closure $next)</span> &#8230;
      &#8250; 
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\TrimStrings-&gt;handle($request, Closure $next)\">    return parent::handle($request, $next);</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>}</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;2}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php:183
Stack level 14.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Pipeline\\Pipeline.php:183</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> &#8230;
      &#8250; <code class=\"php\"><span class=sf-dump-default>$carry = method_exists($pipe, $this-&gt;method)</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Pipeline\\Pipeline-&gt;Illuminate\\Pipeline\\{closure}\">                ? $pipe-&gt;{$this-&gt;method}(...$parameters)</span></code>
      &#8250; <code class=\"php\"><span class=sf-dump-default>                : $pipe(...$parameters);</span></code>
      <span class=sf-dump-meta>arguments</span>: { &#8230;2}
    </samp>}
    <span class=sf-dump-meta title=\"I:\\Sites\\RustMetricsPro\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php:27
Stack level 13.\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">I:\\Sites\\RustMetricsPro\\vendor</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-path\">\\laravel\\framework\\</span>src\\Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize.php:27</span> {<samp data-depth=3 class=sf-dump-compact>
      <span class=sf-dump-note title=\"Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize-&gt;handle($request, Closure $next)
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Foundation\\Http\\Middleware</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>ValidatePostSize-&gt;handle($request, Closure $next)</span> &#8230;
      &#8250; 

image

@BippyMiester hey, what is the issue?

This is what gets logged if you use dd() or dump()

I've never seen that before. I'm sorry. I guess its not a bug.

Actually you know what. No. I think it is. I'm reopening this. Here's why. Here's my production environment side of things. Same error, no html tags.
image

@BippyMiester , could it be because locally APP_DEBUG=true and in production it's APP_DEBUG=false ?

When debug is enabled, Laravel errors are more verbose, and this error is one from a Blade view, which contains HTML of course.