Fatal error: Uncaught Error: Call to undefined method Laravel\Lumen\Http\ResponseFactory::view() in C:\xampp\htdocs\yoga\app\Exceptions\Handler.php:58 Stack trace: #0 C:\xampp\htdocs\yoga\vendor\laravel\lumen-framework\src\Concerns\RegistersExceptionHandlers.php(128): App\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #1 C:\xampp\htdocs\yoga\vendor\laravel\lumen-framework\src\Concerns\RegistersExceptionHandlers.php(51): Laravel\Lumen\Application->handleUncaughtException(Object(Symfony\Component\Debug\Exception\FatalThrowableError)) #2 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(Object(Error)) #3 {main} thrown in C:\xampp\htdocs\yoga\app\Exceptions\Handler.php on line 58

Fatal error: Uncaught Error: Call to undefined method Laravel\Lumen\Http\ResponseFactory::view() in C:\xampp\htdocs\yoga\app\Exceptions\Handler.php:58 Stack trace: #0 C:\xampp\htdocs\yoga\vendor\laravel\lumen-framework\src\Concerns\RegistersExceptionHandlers.php(128): App\Exceptions\Handler->render(Object(Illuminate\Http\Request), Object(Symfony\Component\Debug\Exception\FatalErrorException)) #1 C:\xampp\htdocs\yoga\vendor\laravel\lumen-framework\src\Concerns\RegistersExceptionHandlers.php(68): Laravel\Lumen\Application->handleUncaughtException(Object(Symfony\Component\Debug\Exception\FatalErrorException)) #2 C:\xampp\htdocs\yoga\vendor\laravel\lumen-framework\src\Concerns\RegistersExceptionHandlers.php(55): Laravel\Lumen\Application->handleShutdown() #3 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}() #4 {main} thrown in C:\xampp\htdocs\yoga\app\Exceptions\Handler.php on line 58