• Resolved Vishal Lohar

    (@vlohar08)


    Hi,
    I am getting these errors in my WordPress log files. The URL LiteSpeed is trying to access is of Google and not of my website. Why LiteSpeed is accessing images from google and how can I fix this?

    I have Image optimization disabled in Litespeed Cache settings.

    Note- I have replaced my domain with example.com

    [04-Jun-2022 02:25:37 UTC] PHP Warning:  getimagesize(https://lh6.googleusercontent.com/9wM9xdpcvv7C_oH3XSOi7g4yFui8kfn-1z1kL5Q7SbBpQpJ9N64zfmXO15bPZy0kLbg4wqwc01F5VVczXFkrS74at1Y5OiQTYo5q4xVAmcouRRiXYxUYlD4-naIu3ILR7tJsDVYc): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
     in /home/example.com/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on line 661
    [04-Jun-2022 02:25:38 UTC] PHP Warning:  getimagesize(https://lh6.googleusercontent.com/PpC9srs1u8DMyJZJ7zxnfG5h64liMxwjkyoZ30DjYAp8o-rrY0REBAdl3HewqARvpyFHb1Nm_LwjiRbMKwJ2XhQqGLvchPnsHt1xdrTS4F714U3ER3vumPP_LoTnx2J3CM0EdOLt): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
     in /home/example.com/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on line 661
    [04-Jun-2022 02:25:38 UTC] PHP Warning:  getimagesize(https://lh5.googleusercontent.com/kiDzmrcWoNaMd026mqR9iz407GfWz-zqa-nHOvK83JLyHrrBvXm6kf4NwsJKeo4v_dwYfd2mO2pP3vQAlsuNdB3xfZRREvMbxQ8GCNhJMJ3dQnmwGQDxgmcB28eXABx1FjmB3DAa): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
     in /home/example.com/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on line 661
    [04-Jun-2022 02:25:39 UTC] PHP Warning:  getimagesize(https://lh3.googleusercontent.com/0E7DcOzL9fNpXWhQFlV3uxnIku9ifepd7vgRA23ylMwauLZSwyYEURSDhTL441I6Um_HIdTZTddoS_UVuUIglFHavYiMQ8wHH2Ql1CJ4Q57bUXwQr3W8qeGcGiVJe7AAChb0cYay): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
     in /home/example.com/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on line 661
Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please go to Media -> Add missing size , turn it off

    or try add this to your functions.php

    add_filter( 'litespeed_media_ignore_remote_missing_sizes', '__return_true' );

Viewing 1 replies (of 1 total)
  • The topic ‘Litespeed getImageSize PHP Warning’ is closed to new replies.