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

Deprecated #581

Closed
KHBOHM opened this issue Jan 31, 2022 · 0 comments · Fixed by #582
Closed

Deprecated #581

KHBOHM opened this issue Jan 31, 2022 · 0 comments · Fixed by #582

Comments

@KHBOHM
Copy link

KHBOHM commented Jan 31, 2022

Hello.
I am using PHP version 8.1 and CakePHP 4.
I get the following message when I use the plugin: "Deprecated: Optional parameter $data declared before required parameter $settings is implicitly treated as a required parameter in /var/www/html/ads4/vendor/josegonzalez/cakephp-upload/src/ Model/Behavior/UploadBehavior.php on line 210".
I have updated the version of the plugin with Composer and the message continues to appear.
I've checked the code for the current Main version and it does indeed have an optional second parameter in the "getWriter" function.
I don't know how to work with GitHub, so I'm hesitant to upload the fix.
Thanks a lot

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 a pull request may close this issue.

1 participant