8000 Solving Issue: Class name must be a valid object or a string by mizwardomlank · Pull Request #564 · Zizaco/entrust · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Solving Issue: Class name must be a valid object or a string #564

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

mizwardomlank
Copy link
Contributor

Solving Entrust migration issue with Laravel 5.1
php artisan entrust:migration

psbhanu and others added 6 commits February 18, 2016 19:37
Solving Entrust migration issue with Laravel 5.2
php artisan entrust:migration

[Symfony\Component\Debug\Exception\FatalErrorException]
Class name must be a valid object or a string
Solving Issue: Class name must be a valid object or a string
Parent method returns true or false. We need to return that result too.
Update EntrustUserTrait.php
+ return value EntrustRoleTrait
@mizwardomlank mizwardomlank changed the title dev-mif 5.2 Test Apr 11, 2016
@mizwardomlank mizwardomlank changed the title Test Solving Issue: Class name must be a valid object or a string Apr 11, 2016
jagDanJu and others added 6 commits May 30, 2016 09:53
Backslash is important.. Without this an error is occured
The table name is not set as 'auth.providers.users.model' in atleast Laravel 5.2.41. But since we got the model anyway. Why no use ->getTable(); Tested & Working.
Fix for migration missing table name
Update EntrustServiceProvider.php
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

Successfully merging this pull request may close these issues.

10 participants
0