PHP Warning: getimagesize()
-
Good Afternoon Litespeed
We recently had exhaustive resources on one of our GPC servers, to which we decided to add Sentry.io logging to find out exactly what the issue was, while looking in to this we found that Litespeed since November 16th has generated 54K warning when attempting to
getimagesize
on a image that seemingly doesn’t exists.We think, perhaps it would be a good idea to add a conditional check to ensure the image you’re trying to manipulate exists first otherwise return early.
We’re not saying this is the cause of our resource exhaustion, however, it is definitely something of an issue, which we believe could be a factor and something we though would be good to bring to your attention.
Just to be clear, we are using the latest version of the plugin (at the time of writing);
Litespeed: Version 5.7.0.1
WordPress: Version 6.4.1
Elementor: Version 3.17.3
Elementor Pro: Version 3.17.1
- The topic ‘PHP Warning: getimagesize()’ is closed to new replies.