fixed deprecation warning in PermissionsTable to work with CakePHP 4.3.x by m4ximum · Pull Request #170 · cakephp/acl · GitHub
Skip to content

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

Merged
othercorey merged 1 commit into
cakephp:masterfrom
m4ximum:master
Jan 20, 2022
Merged

fixed deprecation warning in PermissionsTable to work with CakePHP 4.3.x#170
othercorey merged 1 commit into
cakephp:masterfrom
m4ximum:master

Conversation

@m4ximum

@m4ximum m4ximum commented Nov 3, 2021

Copy link
Copy Markdown
Contributor

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.

2 participants