Title: LSCache PHP errors on WP
Last modified: April 28, 2024

---

# LSCache PHP errors on WP

 *  Resolved [abzu2](https://wordpress.org/support/users/abzu2/)
 * (@abzu2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/lscache-php-errors-on-wp/)
 * Receiving numerous PHP errors related to LSCache. Adding the latest after having
   turned OFF Object Cache, that was giving me problems.
 * [BPS Pro htaccess Protected Secure PHP Error Log]
 * [28-Apr-2024 14:13:53 UTC] Connection refused
   [28-Apr-2024 14:31:19 UTC] PHP 
   Warning: getimagesize(): php_network_getaddresses: getaddrinfo for scontent.fmad3-
   7.fna.fbcdn.net failed: Name or service not known in /home/u169307991/domains/
   abzu2.com/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on
   line 793[28-Apr-2024 14:31:19 UTC] PHP Warning: getimagesize([https://scontent.fmad3-7.fna.fbcdn.net/v/t1.0-1/c40.35.50.50a/p130x130/13083187_758341454267776_1466451333395741793_n.jpg?_nc_cat=103&_nc_eui2=AeGrvQy5AyBvHZCrwh7ZqbRGdP-GLxdXJqqAASJy7mwb7Mx89VkgtWdodMu6T0v7JfV5ez9tzLWSiRXG5eG2y81hJmT5Amy6sRBgozBSsn9frQ&_nc_oc=AQlykpDnJHXRzTbDN-alGfG7RqF18xDXqo-fhu8Z5qFnLTEJMIZQMN0km0DD2lxl7_A&_nc_ht=scontent.fmad3-7.fna&oh=304a6ab79d8b78a013844dd3bbe1e20c&oe=5DEF56C9](https://scontent.fmad3-7.fna.fbcdn.net/v/t1.0-1/c40.35.50.50a/p130x130/13083187_758341454267776_1466451333395741793_n.jpg?_nc_cat=103&_nc_eui2=AeGrvQy5AyBvHZCrwh7ZqbRGdP-GLxdXJqqAASJy7mwb7Mx89VkgtWdodMu6T0v7JfV5ez9tzLWSiRXG5eG2y81hJmT5Amy6sRBgozBSsn9frQ&_nc_oc=AQlykpDnJHXRzTbDN-alGfG7RqF18xDXqo-fhu8Z5qFnLTEJMIZQMN0km0DD2lxl7_A&_nc_ht=scontent.fmad3-7.fna&oh=304a6ab79d8b78a013844dd3bbe1e20c&oe=5DEF56C9)):
   Failed to open stream: php_network_getaddresses: getaddrinfo for scontent.fmad3-
   7.fna.fbcdn.net failed: Name or service not known in /home/u169307991/domains/
   abzu2.com/public_html/wp-content/plugins/litespeed-cache/src/media.cls.php on
   line 793
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flscache-php-errors-on-wp%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/lscache-php-errors-on-wp/#post-17720867)
 * please add this code your theme’s functions.php
 *     ```wp-block-code
       add_filter( "litespeed_media_ignore_remote_missing_sizes", "__return_true" );
       ```
   
 *  Thread Starter [abzu2](https://wordpress.org/support/users/abzu2/)
 * (@abzu2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/lscache-php-errors-on-wp/#post-17721552)
 * Thank you. Much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘LSCache PHP errors on WP’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [abzu2](https://wordpress.org/support/users/abzu2/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/lscache-php-errors-on-wp/#post-17721552)
 * Status: resolved