Open qwertytech opened 8 years ago
Hi qwertytech,
Try this. I hope this will help you. https://github.com/Zizaco/entrust/pull/459#issuecomment-167227538.
I have this problem too, help: search in project bindShared and rename to singleton()
@DarkCobalt I found that answer too but if I ever use composer update it will overwrite my change. I was hoping for a supported fix so that I can continue to use composer update.
I had this issue and fixed it by using the dev-master branch instead. Go into your config/app.php file and comment out the entrust stuff in there. Then update your composer file to use the following instead:
"zizaco/entrust":"dev-master",
Then run composer update and then finally uncomment out the stuff in the app config that you commented out earlier.
running dev-master on 5.2.10
getting:
[Symfony\Component\Debug\Exception\FatalThrowableError]
Fatal error: Class name must be a valid object or a string
Is there a PR for this?
yes there is, https://github.com/Zizaco/entrust/issues/462
I recently installed Entrust via composer. I've been trying to run the two following commands but they both give me the same error.
and
They both give this error: [Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Illuminate\Foundation\Application::bindShared()