Problem/Motivation
PHP8.2 deprecates the use of dynamically declared variables.
Steps to reproduce
Install PHP8.2
Navigate to /admin/config/media/file-upload-options and see the errors.
Proposed resolution
Explicitly declare the protected var in the FileUploadService
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3392023-3.patch | 850 bytes | elgordogrande |
Comments
Comment #2
elgordogrande commentedComment #3
elgordogrande commentedFixed typo in SettingsForm.php
Comment #4
cobadger commentedThe patch in comment 3 resolved this issue in my testing.
Comment #6
imclean commentedThanks, committed.