Lots of raw HTML tags inside Stacktrace
BippyMiester opened this issue · 4 comments
BippyMiester commented
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: `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: `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->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->handleMatchedRoute(Request $request, $route)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\AbstractRouteCollection->handleMatchedRoute(Request $request, $route)\">throw new NotFoundHttpException(sprintf(</span></code>
› <code class=\"php\"><span class=sf-dump-default> 'The route %s could not be found.',</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->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->match(Request $request)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\RouteCollection->match(Request $request)\"> return $this->handleMatchedRoute($request, $route);</span></code>
› <code class=\"php\"><span class=sf-dump-default>}</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->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->findRoute($request)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\Router->findRoute($request)\">$this->current = $route = $this->routes->match($request);</span></code>
›
<span class=sf-dump-meta>arguments</span>: { …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->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->dispatchToRoute(Request $request)</span> …
› <code class=\"php\"><span class=sf-dump-default>{</span></code>
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\Router->dispatchToRoute(Request $request)\"> return $this->runRoute($request, $this->findRoute($request));</span></code>
› <code class=\"php\"><span class=sf-dump-default>}</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->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->dispatch(Request $request)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Routing\\Router->dispatch(Request $request)\"> return $this->dispatchToRoute($request);</span></code>
› <code class=\"php\"><span class=sf-dump-default>}</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->Illuminate\\Foundation\\Http\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}\"> return $this->router->dispatch($request);</span></code>
› <code class=\"php\"><span class=sf-dump-default>};</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->Illuminate\\Pipeline\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> …
› <code class=\"php\"><span class=sf-dump-default>try {</span></code>
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}\"> return $destination($passable);</span></code>
› <code class=\"php\"><span class=sf-dump-default>} catch (Throwable $e) {</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->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->handle($request, Closure $next)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle($request, Closure $next)\"> return $next($request);</span></code>
› <code class=\"php\"><span class=sf-dump-default>}</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->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->handle($request, Closure $next)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle($request, Closure $next)\"> return parent::handle($request, $next);</span></code>
› <code class=\"php\"><span class=sf-dump-default>}</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->Illuminate\\Pipeline\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> …
› <code class=\"php\"><span class=sf-dump-default>$carry = method_exists($pipe, $this->method)</span></code>
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}\"> ? $pipe->{$this->method}(...$parameters)</span></code>
› <code class=\"php\"><span class=sf-dump-default> : $pipe(...$parameters);</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->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->handle($request, Closure $next)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle($request, Closure $next)\"> return $next($request);</span></code>
› <code class=\"php\"><span class=sf-dump-default>}</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->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->handle($request, Closure $next)</span> …
›
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle($request, Closure $next)\"> return parent::handle($request, $next);</span></code>
› <code class=\"php\"><span class=sf-dump-default>}</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->Illuminate\\Pipeline\\{closure}
\"><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline</span><span class=\"sf-dump-ellipsis sf-dump-ellipsis-note\">\\</span>{closure}</span> …
› <code class=\"php\"><span class=sf-dump-default>$carry = method_exists($pipe, $this->method)</span></code>
› <code class=\"php\"><span class=sf-dump-const title=\"in Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}\"> ? $pipe->{$this->method}(...$parameters)</span></code>
› <code class=\"php\"><span class=sf-dump-default> : $pipe(...$parameters);</span></code>
<span class=sf-dump-meta>arguments</span>: { …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->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->handle($request, Closure $next)</span> …
›
arukompas commented
@BippyMiester hey, what is the issue?
This is what gets logged if you use dd()
or dump()
BippyMiester commented
I've never seen that before. I'm sorry. I guess its not a bug.
BippyMiester commented
arukompas commented
@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.