Skip to content
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

$user->groupFriend($friend, $group_name); #85

Open
harpreetsinghdhiman500 opened this issue Apr 12, 2017 · 2 comments
Open

$user->groupFriend($friend, $group_name); #85

harpreetsinghdhiman500 opened this issue Apr 12, 2017 · 2 comments

Comments

@harpreetsinghdhiman500
Copy link

@hootlex I want to add friend in group.I do not any idea in
$user->groupFriend($friend, $group_name);
what $group_name is realy want.
it give an error as
ErrorException in Friendable.php line 124:
Illegal offset type in isset or empty

@stephane-monnot
Copy link
Contributor

Have you defined your groups in your config file ?
https://github.com/hootlex/laravel-friendships#friend-groups

@harpreetsinghdhiman500
Copy link
Author

harpreetsinghdhiman500 commented Apr 12, 2017 via email

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

No branches or pull requests

2 participants