BKWLD / decoy

A Laravel model-based CMS
http://docs.decoy.bukwild.com/
MIT License
303 stars 44 forks source link

Enabling Roles causes error exception #103

Open codivist opened 5 years ago

codivist commented 5 years ago

I've installed the latest version and followed the quick start tutorial. Everything has been working great.

I enabled the roles/permissions by uncommenting the sections out. However when I do I get the following error on the admin/admins page:

Symfony\Component\Debug\Exception\FatalErrorException thrown with message 
"Method Bkwld\Decoy\Fields\Listing::__toString() must not throw an exception, 
caught ErrorException: Undefined index: admin"

The error only shows when there is one or more items in the roles array in the site.php config file.

codivist commented 5 years ago

Shamless Bump...

I hope Decoy isn't fading away!

tynoesj commented 5 years ago

Same..., was just looking through commits and saw that they haven't been active lately. Have several projects running on them would be sad!

codivist commented 5 years ago

It might be... 😿 I reached out to @weotch over Linked In a while back and haven't heard anything back on direction of this project. I was just about to publish a personal project with this too.

I did fork this and I'm going to see if I can fix my issue here and try for a pull request. If not I might just maintain my own and let others use it.

tynoesj commented 5 years ago

Tried to tweet to the agency about Decoy's future but didn't get a response 😢

Keep us up to date if you're planning to do your own thing with this!

codivist commented 5 years ago

Will do!

codivist commented 5 years ago

😢 Looks like the docs may have been pulled form the company's website. I have this repo forked. Just finishing up another project before I can put more time on this