Laravel-Backpack/MenuCRUD

Route error during installation

Deca opened this issue · 3 comments

Deca commented

Bug report

I'm running Laravel 6 with backpack 3.6 and php 7.3
Following the installation instruction I added the PageManager then proceeded to install manually with method A
After adding the custom route I get this error

Attribute [crud] does not exist.

image

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication mediums:

  • Bug Reports, Feature Requests - Github Issues (here);
  • Quick help (How do I do X) - Gitter Chatroom;
  • Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the backpack-for-laravel tag;

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

--
Justin Case
The Backpack Robot

Hmm... sounds like you've managed to somehow install MenuCRUD 2.x on Backpack 3.6, which should not be possible:

  • MenuCRUD 2.x, which uses Route::crud(), requires Backpack 4.x;
  • MenuCRUD 1.x, which uses CRUD::route(), requires Backpack 3.x;

Or maybe you've downgraded from Backpack 4.0 to 3.6 or something?

  1. Make sure you try erasing all cache, especially routes php artisan cache:clear
  2. What version of Backpack & MenuCRUD do you have installed? What's the output of php artisan backpack:version?
  3. Have you published the menucrud route file? Do you have this file in your app routes/backpack/menucrud.php?

Cheers!

Closing this due to inactivity. Feel free to reply though.