-
Notifications
You must be signed in to change notification settings - Fork 116
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
Error: Call to a member function canView() on null #622
Comments
Looks like https://github.com/dnadesign/silverstripe-elemental/blob/4.0/src/GraphQL/ReadOneAreaResolver.php#L15 is being passed an invalid ID. In the first instance it could throw an error along the lines of |
Yeah we'll be happy to accept a patch that at least asserts the area exists before checking permission. Nevermind I just did it: #623 With this patch it'll throw a different error. You probably want there to be no error but without additional detail there's no way I know to know what's going on 😅 . |
Fixed by #623? |
The fix is what I would've expected to do to fix this error, so closing as "fixed" |
dnadesign/silverstripe-elemental - 4.0.x-dev - 37d13f1
SilverStripe 4.3.1
Error is from Raygun, not sure what triggered this.
Reported url is /admin/graphql
The text was updated successfully, but these errors were encountered: