Solution 1
Go to the file Illuminate\Foundation\Application
and replace bindShare
with singleton
. This will solve your problem.
bindShared
has been renamed to $app->singleton()
.
This would change the core files and is nit recommended. But if are just looking for a quick fix, this would help. But I strongly suggest you to follow the second solution.
Solution 2
The main problem is because you are using the package Illuminate/HTML
which is no longer mainted. You can use Laravelcollective/HTML
instead of this.
First, comment out the references to Illuminate\Html
in your config/app.php.
Next, do composer remove illuminate/html
.
After that, do composer require laravelcollective/html
.
Now uncomment the Illuminate\Html
items in your config/app.php
file and update references to Collective\Html
instead of Illuminate\Html
.