caffeinated / menus

:pushpin: Menu generator package for the Laravel framework
https://caffeinatedpackages.com
132 stars 59 forks source link

Fatal exception when following "Installation" & "Getting Started" on Wiki #7

Closed peterhanneman closed 9 years ago

peterhanneman commented 9 years ago

I've copy and pasted each step from the Wiki pages "Installation" & "Getting Started". As soon as I add App\Providers\MenuServiceProvider to my list of providers in config/app.php I get "Call to undefined method Caffeinated\Menus\Facades\Menu::make()". Have tried twice with fresh L5 installations to no avail.

kaidesu commented 9 years ago

Run composer update against your app as I've made a slight bug fix, and then simply make your menu within your MenuServiceProvider's boot method rather than the register method.

I've updated the Getting Started wiki page as well~

Thanks for pointing this out! Let me know if you run into issues with this so I can take a further look into things.

mstaack commented 9 years ago

i still have the same problem? any ideas?

added to providers: 'App\Providers\MenuServiceProvider', added MenuServiceProvider class to Providers directory..

tried composer update

kaidesu commented 9 years ago

@liptonsparkling could you open a new issue with your problem, and give more details on your code?

e.g. steps taken to add the package, how you're creating your menu, the actual error involved, etc.