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

CachedDB Adapter can't access object Permission of DBAcl class #186

Open
1DL opened this issue Apr 1, 2024 · 0 comments
Open

CachedDB Adapter can't access object Permission of DBAcl class #186

1DL opened this issue Apr 1, 2024 · 0 comments

Comments

@1DL
Copy link
Contributor

1DL commented Apr 1, 2024

Error thrown:
Call to a member function check() on null

ROOT/vendor/cakephp/acl/src/Adapter/CachedDbAcl.php at line 55

Manually modifying Permission object from private to protected on DBAcl class seems to solve the problem.

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

1 participant