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

Non-static method Nwidart\Menus\Menu::create() should not be called statically #25

Open
alielkhateeb opened this issue Apr 26, 2018 · 1 comment

Comments

@alielkhateeb
Copy link

I get this error when calling Menu::create
Non-static method Nwidart\Menus\Menu::create() should not be called statically

create method truly is non static, what am I doing wrong? I just followed the doc!

@nWidart
Copy link
Owner

nWidart commented Apr 26, 2018

Hello,

That's because you're not calling it on the facade. You need to use the facade.

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