Fix some PHP 8 fatal errors
Some logs related to images manipulation have been disabled as I did not think of a way to actually fix them. A comment before each of these disabled logs starts with "FIXME" so they are easier to find.
Some logs related to images manipulation have been disabled as I did not think of a way to actually fix them. A comment before each of these disabled logs starts with "FIXME" so they are easier to find.