Jun 11, 2015
0
Level 1
Problem with loading the mailer configuration
After fixing the problem with injecting the mailer service I now encounter an issue regarding loading the mailer configuration.
The actual error is:
Fatal error: Maximum function nesting level of '500' reached, aborting! in /vendor/laravel/lumen-framework/src/Application.php on line 729
I've var_dump'ed the $name parameter on line 731 and it seems like it keeps trying to load configurations files, the output is something like:
vendor/laravel/lumen-framework/src/Application.php:731:string 'database' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'app' (length=3)
vendor/laravel/lumen-framework/src/Application.php:731:string 'app' (length=3)
vendor/laravel/lumen-framework/src/Application.php:731:string 'queue' (length=5)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
vendor/laravel/lumen-framework/src/Application.php:731:string 'mail' (length=4)
vendor/laravel/lumen-framework/src/Application.php:731:string 'services' (length=8)
...
It seems like it's trying to load services and mail configurations infinitely, although I don't have any configuration files created.
Am I doing something wrong here?
Please or to participate in this conversation.