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

fixed deprecation warning in PermissionsTable to work with CakePHP 4.3.x #170

Merged
merged 1 commit into from
Jan 20, 2022

Conversation

m4ximum
Copy link
Contributor

@m4ximum m4ximum commented Nov 3, 2021

there is an deprecation warning in the ACL Plugin since I have updated my Application from CakePHP 4.2.9 to CakePHP 4.3.0:

Deprecated (16384): Calling result set method `extract()` directly on query instance is deprecated. You must call `all()` to retrieve the results first. - /vendor/cakephp/acl/src/Model/Table/PermissionsTable.php, line: 104
 You can disable all deprecation warnings by setting `Error.errorLevel` to `E_ALL & ~E_USER_DEPRECATED`, or add `vendor/cakephp/acl/src/Model/Table/PermissionsTable.php` to  `Error.ignoredDeprecationPaths` in your `config/app.php` to mute deprecations from only this file. [CORE/src/Core/functions.php, line 322]

fixed with this pull request

@othercorey othercorey merged commit a1a2291 into cakephp:master Jan 20, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants