Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lumen 8 Call to undefined function Spatie\LaravelSettings\resolve() #31

Closed
oulfr opened this issue Feb 27, 2021 · 5 comments
Closed

Lumen 8 Call to undefined function Spatie\LaravelSettings\resolve() #31

oulfr opened this issue Feb 27, 2021 · 5 comments

Comments

@oulfr
Copy link

oulfr commented Feb 27, 2021

in lumen8 i have this error:

Call to undefined function Spatie\LaravelSettings\resolve()

this is a fix:

spatie/laravel-permission@cbdca3c

@oulfr
Copy link
Author

oulfr commented Mar 1, 2021

any update to this ?

@rubenvanassche
Copy link
Member

There's an open PR for this, but it should be rebased on the most recent version of master:

#29

@rubenvanassche
Copy link
Member

Could you check v2, this has no resolve calls anymore in the app code

@oulfr
Copy link
Author

oulfr commented Mar 3, 2021

you still use Illuminate\Foundation\Application in your SettingsContainer this class it doesn't exist in lumen, so it will not be compatible with lumen

@rubenvanassche
Copy link
Member

rubenvanassche commented Mar 5, 2021

This class is removed in v2.0.1 and replaced by Illuminate\Container\Container which should be available both in Laravel and Lumen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants