We are trying to upgrade our laravel 5.0 project to the latest version of laravel (laravel 5.5 would be also fine) to support php7.1. When we are running composer install laravel gives the error below:
[Symfony\Component\Debug\Exception\FatalErrorException] Uncaught TypeError: Argument 1 passed to App\Exceptions\Handler::report() must be an instance of Exception, instanc e of Error given, called in C:\xampp7\htdocs\V.E.K. Lexmond\vendor\laravel\framework\src\Illuminate\Foundation\Boot strap\HandleExceptions.php on line 73 and defined in C:\xampp7\htdocs\V.E.K. Lexmond\app\Exceptions\Handler.php:25 Stack trace: #0 C:\xampp7\htdocs\V.E.K. Lexmond\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.ph p(73): App\Exceptions\Handler->report(Object(Error)) #1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Error)) #2 {main} thrown
What would be the reason of the this error? We hope anyone got a solution for our problem.
Thank you in advance!
WeTalkive