laravel / lumen-framework

The Laravel Lumen Framework.
https://lumen.laravel.com
MIT License
1.47k stars 419 forks source link

Errors appears on logs even on fresh install #1262

Closed toto33331 closed 1 year ago

toto33331 commented 1 year ago

Since my last report has been closed without even read my words I repost it with more explanation. Here we go again:

On a fresh install of Lumen 9, after a few minutes, a new log file is created with this error:

local.ERROR: Uncaught Error: Call to undefined function app_path() in Command line

After correcting it by this solution there's a new error (in the log file created => \storage\logs\lumen-2022-12-01.log every few minutes)

local.ERROR: Uncaught Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #1 [ $cachePath ]] in class Illuminate\View\Compilers\Compiler in C:\wamp64\www\lumen9\vendor\illuminate\container\Container.php:1106

Tested on several installs and computers

driesvints commented 1 year ago

Please try a support channel. And I want to suggest to switch to Laravel as we're not actively developing Lumen anymore.