Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace resolve() with app() for Lumen compatible #43312

Merged

Conversation

ElfSundae
Copy link
Contributor

#43065 using resolve() causes Lumen app broken.

[2022-07-20 20:11:01] production.ERROR: Call to undefined function Illuminate\Console\View\Components\resolve() {"exception":"[object] (Error(code: 0): Call to undefined function Illuminate\\Console\\View\\Components\
esolve() at /data/wwww/vendor/illuminate/console/View/Components/Component.php:89)
[stacktrace]
#0 /data/wwww/vendor/illuminate/console/View/Components/Task.php(22): Illuminate\\Console\\View\\Components\\Component->mutate()
#1 /data/wwww/vendor/illuminate/console/View/Components/Factory.php(56): Illuminate\\Console\\View\\Components\\Task->render()
#2 /data/wwww/vendor/illuminate/console/Scheduling/ScheduleRunCommand.php(199): Illuminate\\Console\\View\\Components\\Factory->__call()
#3 /data/wwww/vendor/illuminate/console/Scheduling/ScheduleRunCommand.php(127): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->runEvent()
#4 /data/wwww/vendor/illuminate/container/BoundMethod.php(36): Illuminate\\Console\\Scheduling\\ScheduleRunCommand->handle()
#5 /data/wwww/vendor/illuminate/container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#6 /data/wwww/vendor/illuminate/container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#7 /data/wwww/vendor/illuminate/container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#8 /data/wwww/vendor/illuminate/container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#9 /data/wwww/vendor/illuminate/console/Command.php(139): Illuminate\\Container\\Container->call()
#10 /data/wwww/vendor/symfony/console/Command/Command.php(308): Illuminate\\Console\\Command->execute()
#11 /data/wwww/vendor/illuminate/console/Command.php(124): Symfony\\Component\\Console\\Command\\Command->run()
#12 /data/wwww/vendor/symfony/console/Application.php(998): Illuminate\\Console\\Command->run()
#13 /data/wwww/vendor/symfony/console/Application.php(299): Symfony\\Component\\Console\\Application->doRunCommand()
#14 /data/wwww/vendor/symfony/console/Application.php(171): Symfony\\Component\\Console\\Application->doRun()
#15 /data/wwww/vendor/illuminate/console/Application.php(102): Symfony\\Component\\Console\\Application->run()
#16 /data/wwww/vendor/laravel/lumen-framework/src/Console/Kernel.php(116): Illuminate\\Console\\Application->run()
#17 /data/wwww/artisan(35): Laravel\\Lumen\\Console\\Kernel->handle()
#18 {main}
"} 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants