Thasmo's avatar

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?

0 likes
0 replies

Please or to participate in this conversation.