How to solve versions problem in laravel?

126 Views Asked by At

I have an old Laravel project with version 5.8, and I've downloaded PHP with version 7.1.33, but these errors continue to appear I can't do anything with these errors!

route file from the project

I've tried to create a new Laravel project with version 5.8 and it run without errors But I need the old project

1

There are 1 best solutions below

1
Kavan Prajapati On

Write below line on top of your web.php file

use Illuminate\Support\Facades\Route;