Wordpress LScache Plugin: getimagesize warning
This issue is related to the same issue that was closed but unresolved here: https://wordpress.org/support/topic/php-warning-getimagesize/ I disabled all settings related to image optimization, however im still getting the same issue. im using WP Offload Media to host images remotely, and i dont want LiteSpeed Cache to optimize these images. However im still getting the same error: 2022-05-31 17:04:58.034897 [NOTICE]  [ip:port-76#domain.com:lsapi] [STDERR] PHP Warning: getimagesize(https://domain.com/wp-content/uploads/2022/03/photo.svg): failed to open stream: Redirection limit reached. another error: 2022-05-31 17:04:57.430653 [NOTICE]  [ip:port-157#domain.com:lsapi] [STDERR] PHP Warning: getimagesize(https://cdn.domain.com/img/payments.webp): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden. While i dont want to get into the details of why its being forbidden, the main question is: why getimagesize is being called, although all image optimization settings are turned off? Thank you. Hi, please try disable Media -> Add missing size option and purge all best regards, Its already disabled along with all other settings in media. I also purged all and emptied entire cache from Toolbox. I restarted OpenliteSpeed. the error is not going away. I tried deactivating the plugin, and the error stopped showing. i turned it back on, and the errors started showing again. I dont know whats causing the plugin to fetch the images. thats the only feature it would use this function if you go to phpmyadmin , wp db -> wp_options table , search litespeed.conf.media-add_missing_sizes what value it has ? It looks like this was an issue due to importing the site to a different domain using All-in-One WP Migration plugin. some config seem to have been enabled in the config although i disabled them. I had to delete the entire plugin, and delete all associated options in the database. looks fine now.