Answer the question
In order to leave comments, you need to log in
How to fix errors that got into the log file?
/var/www/html/storage/logs
Writes about something unknown in the app.blade.php file , that is, in the header, how can I find it later?
[2019-06-28 10:22:44] local.ERROR: Undefined index: HTTP_HOST (View: /var/www/html/resources/views/layouts/app.blade.php) (View:
/var/www/html/resources/views/layouts/app.blade.php) {"exception":"[object] (ErrorException(code: 0):
Undefined index: HTTP_HOST (View: /var/www/html/resources/views/layouts/app.blade.php) (View: /var/www/html/resources/views/layouts/app.blade.php) at
/var/www/html/storage/framework/views/ff4147596972e84a0b97188cd66ccc784bdf5c55.php:65, ErrorException(code: 0): Undefined index: HTTP_HOST (View: /var/www/html/resources/views/layouts/app.blade.php) at /var/www/html/storage/framework/views/ff4147596972e84a0b97188cd66ccc784bdf5c55.php:65, ErrorException(code: 0): Undefined index: HTTP_HOST at /var/www/html/storage/framework/views/ff4147596972e84a0b97188cd66ccc784bdf5c55.php:65)
[stacktrace]
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(45): Illuminate\\View\\Engines\\CompilerEngine->handleViewException(Object(ErrorException), 1)
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(59): Illuminate\\View\\Engines\\PhpEngine->evaluatePath('/var/www/html/s...', Array)
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/View/View.php(142): Illuminate\\View\\Engines\\CompilerEngine->get('/var/www/html/r...', Array)
Answer the question
In order to leave comments, you need to log in
So you seriously can't read the error? In the same place, in black and white, the absence of an index in the array
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question