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

Call to a member function relationLoaded() on null after updating an administrator #3134

Closed
agus24 opened this issue May 4, 2018 · 3 comments

Comments

@agus24
Copy link

agus24 commented May 4, 2018

  • Laravel Version: 5.6.17
  • Voyager Version: 1.1
  • PHP Version: 7.2.4
  • Database Driver & Version: mysql Ver 14.14 Distrib 5.7.22

Description:

role id at users table become null after edited an administrator user (like edit name, picture, password) so that trigger this error.

image

here's some error from mysql when i try to access users table

image

i dumped the data and this is the result :
image

step to reproduce :

  1. install voyager with dummy
  2. try to edit default user
@Siarhei-Sudakou
Copy link

confirm

@fletch3555
Copy link
Collaborator

Please search before opening issues: https://github.com/the-control-group/voyager/search?utf8=%E2%9C%93&q=Call+to+a+member+function+relationLoaded%28%29+role&type=Issues

Also, accurate version info is required for us to appropriately support you. Are you on Voyager v1.1.0 or v1.1.1?

I ask, because v1.1.1 includes a fix to this (#3014) already.

@github-actions
Copy link
Contributor

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants