Answer the question
In order to leave comments, you need to log in
Logs are not cleared, the old log is constantly coming out, why?
Hello!
There is Laravel 8. I
tested one variable in the template without specifying it, I got an error:
[2022-04-04 16:25:17] production.ERROR: Trying to get property 'login' of non-object (View: /resources/views/index.blade.php) {"view":{"view":"/resources/views/index.blade.php","data":{"errors":"<pre class=sf-dump id=sf-dump-671976160 data-indent-pad=\" \"><span class=sf-dump-note>Illuminate\\Support\\ViewErrorBag</span> {<a class=sf-dump-ref>#316</a><samp data-depth=1 class=sf-dump-expanded>
#<span class=sf-dump-protected title=\"Protected property\">bags</span>: []
</samp>}
php artisan config:cache
php artisan route:cache
php artisan view:clear
php artisan cache:clear
APP_ENV=local
APP_DEBUG=true
Answer the question
In order to leave comments, you need to log in
When opening the laravel.log file, the old file was always opened in priority, saved on the PC, overwriting the actual log file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question