I'm setting my first project using Laravel, but it has been a big deal to show application errors.
It just works fine when everything is correct, but if there is any kind of errors, I get the white screen.
The app/storage folder is set to 777 (I know it shouldn't) and debug is true.
Nginx error log complains about a missing view/layout.html.php, which I think that has to do with the error view generation.
I'm working at homestead VM provoded in Laravel's website. I've created the project with composer and with laravel.phar boot from the VM and from host machine and I get the same situation.
This is artisan tail log:
#3 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(8943): Illuminate\Exception\WhoopsDisplayer->display(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#4 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(8895): Illuminate\Exception\Handler->displayException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#5 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(692): Illuminate\Exception\Handler->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#6 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(7425): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#7 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(8031): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#8 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(7978): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#9 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(10747): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#10 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(648): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#11 /home/vagrant/Code/Laravel/public/fazendafarao/public/index.php(49): Illuminate\Foundation\Application->run()
#12 {main} [] []
[2014-06-10 13:54:17] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Uncaught exception 'RuntimeException' with message 'Could not find resource 'views/layout.html.php' in any resource paths.(searched: /home/vagrant/Code/Laravel/public/fazendafarao/vendor/laravel/framework/src/Illuminate/Exception/resources, /var/www/working/laravel-master/vendor/filp/whoops/src/Whoops/Handler/../Resources)' in /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php:10631
Stack trace:
#0 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(10513): Whoops\Handler\PrettyPageHandler->getResource('views/layout.ht...')
#1 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(10361): Whoops\Handler\PrettyPageHandler->handle(Object(RuntimeException))
#2 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(8837): Whoops\Run->handleException(Object(RuntimeException))
#3 /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php(8943): Illuminate\Exception\WhoopsDisplayer->display(Object(RuntimeException))
#4 /home/vagrant/Code/L' in /home/vagrant/Code/Laravel/public/fazendafarao/bootstrap/compiled.php:10631
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
Does someone have a clue?
I finally got it. Installing with "laravel new" as in http://laravel.com/docs/quick#installation caused some issues on dependencies. But it worked installing with composer.
I found that running php artisan optimize fixed my issue (Laravel 4.2)
Related
I'm deploying a laravel project into production enviroment on a shared host using FTP following this tutorial except the creation of the symbolic link beacuse I'm not using the local storage but ran into "Uncaught RuntimeException: A facade root has not been set" error.
Aditional info:
I tried with a new laravel project with the command composer create-project laravel/laravel project_name 9 and deployed without run it in my computer and got the same error, then I tested it on my computer and worked fine.
The host was configured to follow these route: /web/content, where is displayed the public files. I followed the tutorial routing and created a folder with project's name with all files except the public folder contents as showed in the tutorial but I got the error, so I thought that the structure was giving me the error so I rename the laravel public folder to content and now all files are inside in /web and still getting the error.
Server info: Linux/Apache/PHP-8
Development enviroment: Windows 10/XAMPP/PHP-8.1
For development testing I use php artisan serve rather than XAMPP
I've deployed the project in my personal Heroku and all is working fine, as an additional test, I've deployed the project via XAMPP on my computer following the same structure in the point 2 and works fine.
Checking the logs I got this:
Server Logs
[17-Jul-2022 18:40:36 America/Chicago] PHP Fatal error: Uncaught RuntimeException: A facade root has not been set. in /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:334
Stack trace:
#0 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/RegisterErrorViewPaths.php(18): Illuminate\Support\Facades\Facade::__callStatic('replaceNamespac...', Array)
#1 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(626): Illuminate\Foundation\Exceptions\RegisterErrorViewPaths->__invoke()
#2 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(607): Illuminate\Foundation\Exceptions\Handler->registerErrorViewPaths()
#3 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(538): Illuminate\Foundation\Exceptions\Handler->renderHttpException(Object(Symfony\Component\HttpKernel\Exception\HttpException))
#4 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(444): Illuminate\Foundation\Exceptions\Handler->prepareResponse(Object(Illuminate\Http\Request), Object(Symfony\Component\HttpKernel\Exception\HttpException))
#5 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(363): Illuminate\Foundation\Exceptions\Handler->renderExceptionResponse(Object(Illuminate\Http\Request), Object(ParseError))
#6 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(427): Illuminate\Foundation\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(ParseError))
#7 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(115): Illuminate\Foundation\Http\Kernel->renderException(Object(Illuminate\Http\Request), Object(ParseError))
#8 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/content/index.php(51): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#9 {main}
thrown in /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php on line 334
Laravel Logs
[2022-07-17 18:40:36] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [] is not defined. at /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve(NULL, NULL)
#1 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get(NULL)
#2 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(636): Illuminate\\Log\\LogManager->driver()
#3 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(275): Illuminate\\Log\\LogManager->error('syntax error, u...', Array)
#4 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(415): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(ParseError))
#5 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(113): Illuminate\\Foundation\\Http\\Kernel->reportException(Object(ParseError))
#6 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/content/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#7 {main}
"}
[2022-07-17 18:40:36] laravel.ERROR: syntax error, unexpected token ")" {"exception":"[object] (ParseError(code: 0): syntax error, unexpected token \")\" at /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/symfony/finder/Finder.php:588)
[stacktrace]
#0 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/composer/ClassLoader.php(428): Composer\\Autoload\\includeFile('/mnt/stor2-wc1-...')
#1 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php(88): Composer\\Autoload\\ClassLoader->loadClass('Symfony\\\\Compone...')
#2 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php(65): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->getConfigurationFiles(Object(Illuminate\\Foundation\\Application))
#3 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php(39): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->loadConfigurationFiles(Object(Illuminate\\Foundation\\Application), Object(Illuminate\\Config\\Repository))
#4 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->bootstrap(Object(Illuminate\\Foundation\\Application))
#5 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(153): Illuminate\\Foundation\\Application->bootstrapWith(Array)
#6 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(137): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#7 /mnt/stor2-wc1-dfw1/406060/2039643domain/web/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#8 /mnt/stor2-wc1-dfw1/406060/2039643/domain/web/content/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#9 {main}
"}
UPDATE
By curiosity, tried with Laravel 8 and all work fine, but with Laravel 9 don't and by project's requirements, I'm not allowed to downgrade the Laravel version.
Well I couldn't manage to solve the problem on Laravel 9, so the solution was to downgrade to Laravel 8, maybe the problem is the configuration on the host server.
I'm still relatively new to laravel. I created a working website in Laravel 6 during December 2019 and put it into production. Today (April 8th) I opened the project in VS code and started the terminal view and typed in php artisan serve to load the server and view the site on my local environment to look at some changes i want to make but the server did not start and I was returned the error
In RecursiveDirectoryIterator.php line 48:
Directory name must not be empty.
I have been trying to find reasons for this and solutions through various forums but struggling to get anywhere. my project laravel.log has logged the following.
[2020-04-08 12:00:43] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [] is not defined. at C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\LogManager.php:184)
[stacktrace]
#0 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\LogManager.php(118): Illuminate\\Log\\LogManager->resolve(NULL)
#1 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\LogManager.php(98): Illuminate\\Log\\LogManager->get(NULL)
#2 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Log\\LogManager.php(539): Illuminate\\Log\\LogManager->driver()
#3 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Exceptions\\Handler.php(118): Illuminate\\Log\\LogManager->error('Directory name ...', Array)
#4 C:\\Imad\\Projects\\2019\\New\\burnz\\app\\Exceptions\\Handler.php(37): Illuminate\\Foundation\\Exceptions\\Handler->report(Object(RuntimeException))
#5 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(376): App\\Exceptions\\Handler->report(Object(RuntimeException))
#6 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(133): Illuminate\\Foundation\\Console\\Kernel->reportException(Object(RuntimeException))
#7 C:\\Imad\\Projects\\2019\\New\\burnz\\artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#8 {main}
"}
[2020-04-08 12:00:43] laravel.ERROR: Directory name must not be empty. {"exception":"[object] (RuntimeException(code: 0): Directory name must not be empty. at C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\symfony\\finder\\Iterator\\RecursiveDirectoryIterator.php:48)
[stacktrace]
#0 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\symfony\\finder\\Iterator\\RecursiveDirectoryIterator.php(48): RecursiveDirectoryIterator->__construct('', 4096)
#1 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\symfony\\finder\\Finder.php(744): Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator->__construct('', 4096, false)
#2 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\symfony\\finder\\Finder.php(626): Symfony\\Component\\Finder\\Finder->searchInDirectory('')
#3 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\LoadConfiguration.php(88): Symfony\\Component\\Finder\\Finder->getIterator()
#4 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\LoadConfiguration.php(65): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->getConfigurationFiles(Object(Illuminate\\Foundation\\Application))
#5 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\LoadConfiguration.php(39): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->loadConfigurationFiles(Object(Illuminate\\Foundation\\Application), Object(Illuminate\\Config\\Repository))
#6 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php(211): Illuminate\\Foundation\\Bootstrap\\LoadConfiguration->bootstrap(Object(Illuminate\\Foundation\\Application))
#7 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(320): Illuminate\\Foundation\\Application->bootstrapWith(Array)
#8 C:\\Imad\\Projects\\2019\\New\\burnz\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php(129): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#9 C:\\Imad\\Projects\\2019\\New\\burnz\\artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#10 {main}
"}
I don't undertand what variable is missing that should be in "log[]" where it says "Log [] is not defined". Is anyone able to suggest anything or direct me to a solution?
I am using pbmedia/laravel-ffmpeg as soon as I installed and added the providers and alias, it shows me the following error. This code was simply working on another machine
array_merge(): Argument #2 is not an array
I have tried the following things
Composer update/ and Fresh install
Cleaning the bootstrap/cache/
Checked the config file for laravel-ffmpeg it's there and fine
Publish the config file using the artisan CLI tool: php artisan vendor:publish --provider="Pbmedia\LaravelFFMpeg\FFMpegServiceProvider"
Here is the portion from laravel.log when I tried to run.
[2019-06-19 00:34:40] local.ERROR: ErrorException: array_merge(): Argument #2 is not an array in /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:59
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'array_merge(): ...', '/Users/damanmok...', 59, Array)
#1 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php(59): array_merge(Array, 1)
#2 /Users/damanmokha/edetyv2/vendor/pbmedia/laravel-ffmpeg/src/FFMpegServiceProvider.php(25): Illuminate\Support\ServiceProvider->mergeConfigFrom('/Users/damanmok...', 'laravel-ffmpeg')
#3 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(565): Pbmedia\LaravelFFMpeg\FFMpegServiceProvider->register()
#4 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(74): Illuminate\Foundation\Application->register(Object(Pbmedia\LaravelFFMpeg\FFMpegServiceProvider))
#5 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(540): Illuminate\Foundation\ProviderRepository->load(Array)
#6 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\Foundation\Application->registerConfiguredProviders()
#7 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(203): Illuminate\Foundation\Bootstrap\RegisterProviders->bootstrap(Object(Illuminate\Foundation\Application))
#8 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(267): Illuminate\Foundation\Application->bootstrapWith(Array)
#9 /Users/damanmokha/edetyv2/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(113): Illuminate\Foundation\Console\Kernel->bootstrap()
#10 /Users/damanmokha/edetyv2/artisan(35): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 {main}
if I don't add these providers it works fine, but then I am not able to use ffmpeg without that.
Laravel Version 5.3
pbmedia/laravel-ffmpeg 1.3
php version: 7.1
When I opened the project,I get back this error message :
Fatal error: Uncaught Error: Class 'String' not found in /dev/local/lib/Cake/Utility/Debugger.php:339 Stack trace: #0 /dev/local/lib/Cake/Utility/Debugger.php(741): Debugger::trace(Array) #1 /dev/local/lib/Cake/Error/ErrorHandler.php(219): Debugger->outputError(Array) #2 /dev/local/lib/Cake/Core/App.php(565): ErrorHandler::handleError(2, 'Declaration of ...', '/dev/local...', 25, Array) #3 /dev/local/lib/Cake/Core/App.php(565): include() #4 [internal function]: App::load('TradeLog') #5 [internal function]: spl_autoload_call('TradeLog') #6 /dev/local/lib/Cake/Utility/ClassRegistry.php(145): class_exists('TradeLog') #7 /dev/local/app/Controller/Component/UserComponent.php(61): ClassRegistry::init('TradeLog') #8 /dev/local/app/Controller/Component/PlatformAgentComponent.php(24): UserComponent->__construct(Object(ComponentCollection), Array) #9 /Us in /dev/local/lib/Cake/Utility/Debugger.php on line 339
The newly configured environment in mac os.
When I paste the project into a folder, this error occurs. What's the matter?
This is a compatibility issue between Cakephp 2.4 and PHP7 (because string became reserved word in PHP7, so Cakephp cannot use it as a class name). Using of newer version of Cakephp is suggested. Also downgrading your PHP to 5.6 could solve the problem.
You need to upgrade to CakePHP > 2.8 which is compatible with PHP7
https://github.com/cakephp/cakephp/releases/2.8.0
Everything was working fine until yesterday.
Exceptions were thrown in cool laravel orange/black style format.
But now, I just see a blank page and exceptions are not visible.
When I inspect the call, it shows 500 Internal Server Error.
Here is the stack trace from laravel logs:
[2014-09-16 20:07:32] local.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php:148
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(1049): Illuminate\Routing\RouteCollection->match(Object(Illuminate\Http\Request))
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(1017): Illuminate\Routing\Router->findRoute(Object(Illuminate\Http\Request))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Routing\Router.php(996): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(777): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#4 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(747): Illuminate\Foundation\Application->dispatch(Object(Illuminate\Http\Request))
#5 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Session\Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#6 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#7 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#8 E:\xampp\htdocs\ingeniouslive\app\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#9 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(643): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#10 E:\xampp\htdocs\ingeniouslive\app\repo\index.php(49): Illuminate\Foundation\Application->run()
#11 {main} [] []
[2014-09-16 20:07:32] local.ERROR: exception 'RuntimeException' with message 'Could not find resource 'views/layouts.html.php' in any resource paths.(searched: E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler/../Resources)' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php(119): Whoops\Handler\PrettyPageHandler->getResource('views/layouts.h...')
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Run.php(247): Whoops\Handler\PrettyPageHandler->handle(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\WhoopsDisplayer.php(49): Whoops\Run->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(280): Illuminate\Exception\WhoopsDisplayer->display(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#4 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(159): Illuminate\Exception\Handler->displayException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#5 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(753): Illuminate\Exception\Handler->handleException(Object(Symfony\Component\HttpKernel\Exception\NotFoundHttpException))
#6 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Session\Middleware.php(72): Illuminate\Foundation\Application->handle(Object(Illuminate\Http\Request), 1, true)
#7 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Queue.php(47): Illuminate\Session\Middleware->handle(Object(Illuminate\Http\Request), 1, true)
#8 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Cookie\Guard.php(51): Illuminate\Cookie\Queue->handle(Object(Illuminate\Http\Request), 1, true)
#9 E:\xampp\htdocs\ingeniouslive\app\vendor\stack\builder\src\Stack\StackedHttpKernel.php(23): Illuminate\Cookie\Guard->handle(Object(Illuminate\Http\Request), 1, true)
#10 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(643): Stack\StackedHttpKernel->handle(Object(Illuminate\Http\Request))
#11 E:\xampp\htdocs\ingeniouslive\app\repo\index.php(49): Illuminate\Foundation\Application->run()
#12 {main} [] []
[2014-09-16 20:07:32] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Uncaught exception 'RuntimeException' with message 'Could not find resource 'views/layouts.html.php' in any resource paths.(searched: E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler/../Resources)' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php(119): Whoops\Handler\PrettyPageHandler->getResource('views/layouts.h...')
#1 E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Run.php(247): Whoops\Handler\PrettyPageHandler->handle(Object(RuntimeException))
#2 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\WhoopsDisplayer.php(49): Whoops\Run->handleException(Object(RuntimeException))
#3 E:\xampp\htdocs\ingeniouslive\app\vendor\laravel\framework\src\Illuminate\Exception\Handler.php(280): Illuminate\Exception\WhoopsDisplayer->display(Object(RuntimeException))
#4 E:\xampp\htdocs\ingeniou' in E:\xampp\htdocs\ingeniouslive\app\vendor\filp\whoops\src\Whoops\Handler\PrettyPageHandler.php:440
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
I can see something going wrong on #4. Only a partial directory path is listed: E:\xampp\htdocs\ingeniou'
I am not sure how to debug this. Please help.
PS: Things stopped working when I setup email(edited app/config/mail.php) and ran couple of artisan commands(auth:reminder-controller and auth:reminder-table)
I ran into this issue as well and had to do a fresh install of Laravel to get it working. I THINK it was caused when I refactored a folder in my views from layout to layouts. It may have done some extra refactoring and switched things up where they shouldn't' have been in other classes?
Might be best to just do a new install of laravel.