We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
8.7.0
8.2
No response
core/Abstracts/Requests/Request.php
Lines 128 to 140 in 149282f
This method triggers a "Call to a member function hasPermissionTo() on null" error if the middleware is removed from the Route, for example.
And if there is any value in the Permissions block in the Request.
I think the solution would be to check for the existence of $user in the closure before passing it to the anonymous function.
Lines 137 to 139 in 149282f
The text was updated successfully, but these errors were encountered:
Mohammad-Alavi
No branches or pull requests
Apiato Core Version
8.7.0
PHP Version
8.2
Database Driver & Version
No response
Description
core/Abstracts/Requests/Request.php
Lines 128 to 140 in 149282f
This method triggers a "Call to a member function hasPermissionTo() on null" error if the middleware is removed from the Route, for example.
And if there is any value in the Permissions block in the Request.
I think the solution would be to check for the existence of $user in the closure before passing it to the anonymous function.
core/Abstracts/Requests/Request.php
Lines 137 to 139 in 149282f
Steps To Reproduce
The text was updated successfully, but these errors were encountered: