Title: Litespeed Cache plugin causing error log to explode
Last modified: March 27, 2024

---

# Litespeed Cache plugin causing error log to explode

 *  Resolved [simco](https://wordpress.org/support/users/simco/)
 * (@simco)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-causing-error-log-to-explode/)
 * One of the accounts on our server that is utilizing the plugin is continually
   throwing php errors at a rate that makes the error_log grow to 200+ gigs and 
   uses up all the available disk space. We’ve tried updating the plugin to the 
   latest version 6.1 and also tried deactivating it, removing it, then reinstalling
   it via WHM but the problem persists.
 * Tech support says it’s a “known bug” in the plugin. Please advise as to the awareness
   of this problem and also what can be done to stop this error.
    -  This topic was modified 2 years, 2 months ago by [simco](https://wordpress.org/support/users/simco/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flitespeed-cache-plugin-causing-error-log-to-explode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [simco](https://wordpress.org/support/users/simco/)
 * (@simco)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-causing-error-log-to-explode/#post-17532901)
 * This is the actual error message that keeps repeating dozens of times per second:
 * PHP Warning: Undefined property: WpOrg\Requests\Exception\Transport\Curl::$status_code
   in /home/####/public_html/wp-content/plugins/litespeed-cache/src/[img-optm.cls.php](http://img-optm.cls.php/)
   on line 1024
 * I removed the username in that string for privacy purposes. Please advise on 
   how I can stop this.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-causing-error-log-to-explode/#post-17541898)
 *     ```wp-block-code
       error_log( print_r($response, true) , 3 , '/path/your/wp/litespeed.log');
       ```
   
 * please add this at line 1023 , replace `/path/to/your/wp` to actual path, then
   trigger the error again
 * once it happens again , please share me this `/path/your/wp/litespeed.log`

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

The topic ‘Litespeed Cache plugin causing error log to explode’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/litespeed-cache-plugin-causing-error-log-to-explode/#post-17541898)
 * Status: resolved