Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Error on Implementation in Laravel 5.3 #185

Open
httpoz opened this issue Aug 25, 2016 · 13 comments
Open

Error on Implementation in Laravel 5.3 #185

httpoz opened this issue Aug 25, 2016 · 13 comments

Comments

@httpoz
Copy link

httpoz commented Aug 25, 2016

[ErrorException]
Declaration of Bican\Roles\Traits\HasRoleAndPermission::is(Bican\Roles\Models\Role $role, $all = false) should be compatible with Illuminate\Database\Eloquent\Model::is(Illuminate\Database\Eloquent\Model $model)

@AmmarCodes
Copy link

I'm using this package and planning to upgrade to Laravel 5.3.

If it's breaking I'll delay the upgrade.

@mbouclas
Copy link

same here, 5.3 broke a lot of packages for me...

@gutig
Copy link

gutig commented Aug 27, 2016

same here

@gutig
Copy link

gutig commented Aug 27, 2016

@romanbican are you planning on looking into it/providing support for Laravel 5.3??

@httpoz
Copy link
Author

httpoz commented Aug 27, 2016

Just read through this thread, could shed some light on the lack of activity on this repo #180

@emiliomedina21
Copy link

@httpoz I've found a solution for L5.3. How can i share the changes in code?

@httpoz
Copy link
Author

httpoz commented Aug 30, 2016

@emiliomedina21 I just forked, you can throw it here if you don't mind:

https://github.com/httpoz/roles

@emiliomedina21
Copy link

@nikolaynesov
Copy link

nikolaynesov commented Sep 6, 2016

Hey guys,

To fix it temporary use this:
I. Add VCS Repo to your composer.json
"repositories": [ { "type": "vcs", "url": "https://github.com/nikolaynesov/roles.git" } ]

II. Change version of the package in composer.json

"bican/roles": "dev-master",

Hopefully it may help.

@nikolaynesov
Copy link

#189

@MKR-KANI
Copy link

MKR-KANI commented Nov 21, 2016

in the blade, it is throwing an error of ErrorException in Builder.php line 2448:
Call to undefined method Illuminate\Database\Query\Builder::isRole() what i need to do..?

@baoanhng
Copy link

So Bican has no longer maintained the package, but I think this is a really good roles management package, simple but enough. Is there any chance we have someone to be a contributor without Bican? No disrepectful but I don't want to see this stop, even though there are other forks.

@jiangguoliang
Copy link

所以Bican已不再维护包,但我认为这是一个非常好的角色管理包,简单但足够。我们有没有机会成为没有Bican的贡献者?没有不尊重,但我不想看到这个停止,即使有其他的叉子。

yes

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

No branches or pull requests

9 participants