• Resolved boxxroom

    (@boxxroom)


    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

    • This topic was modified 12 months ago by boxxroom.
Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please try disable Page Optm -> Media -> Add Missing size option

    or add this code to your theme’s functions.php

    add_filter( "litespeed_media_ignore_remote_missing_sizes", "__return_true" );
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning: getimagesize()’ is closed to new replies.