-
Notifications
You must be signed in to change notification settings - Fork 51
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
php 8.1 warning #26
Comments
i fixed by myself, change line to: |
Hi, Unfortunately this is not a fix, in fact It won't check the size correctly on server side. So this bug should reopened... |
We waiting :) |
Hi, Here is the fix
Replace By Important: So you need to edit |
This bug can be closes now ;) |
[phpBB Debug] PHP Warning: in file C:/xampp2/htdocs/App/Entity/Uploader.php on line 202: Trying to access array offset on value of type int
On line 202 i have:
if($options['maxSize'] && $file['size'][0] > $options['maxSize']) $errors[] = $this->error_messages['max_file_size'];
when i cjhange $file['size'][0] to @$file['size'][0] the warning disappear.
Can someone test it on php 8.1 and fix this... ?
The text was updated successfully, but these errors were encountered: