-
Notifications
You must be signed in to change notification settings - Fork 366
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
Error Upload file PHP 8.2.4 #718
Comments
Do you know how to review your PHP error logs? I've faced an issue with the php_image_magician.php file where there is a number conversion error (float to int or the other way). I've resolved this by adding a "floor" or "ceil" call depending on your preference so that the value passed is always an INT. |
thanks for the help, but I haven't solved the problem yet. I will learn more about this issue |
Not yet fixed in the code here. Though there's fixes above the main error is in /include/php_image_magician.php whereby the floating point parameters ($cropStartX & $cropStartY are not recommended for the imagecopyresampled() call. I added an '(int)' type cast to each parameter and the 'warning' no longer spits out which causes the above error. (See #709) |
I have done the steps given in the previous issue, but the problem still occurs in PHP 8.2.4
The text was updated successfully, but these errors were encountered: