I recently updated a website I’m working on to Kirby 3.9.4 and faced an error when trying to resize or get the proportion of an image in PHP. This problem only occurs when on my server which is running on PHP 8.2, when running the website locally everything is smooth.
Here is the error message:
claviska\SimpleImage::getExif(): Return value must be of type ?array, bool returned
Surprisingly enough, refreshing the page after the error seems to fix it once and for all, but only on the refreshed page. I’m really not sure what I should do about it, refreshing every single one of the pages would just be too much of a hassle and don’t feel reliable.