Title: Sudden Plugin Errors
Last modified: November 12, 2023

---

# Sudden Plugin Errors

 *  Resolved [Chad](https://wordpress.org/support/users/chadi/)
 * (@chadi)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/sudden-plugin-errors/)
 * Please assist with below. For some reason my site is suddenly acting up, every
   other page refresh or purging cache even, I get “there has been a critical error”
   message.
 * Logs:
 *     ```wp-block-code
       2023-11-11 21:15:01.337945 [INFO] [2290156] [T0] [127.0.0.1:52346#APVH_server.hostname.com:0] File not found [/var/www/html/whm-server-status] 
       2023-11-11 21:15:20.294483 [NOTICE] [2290156] [T0] [162.158.155.210:14296-5#APVH_devdomain.host:0] [STDERR] PHP Warning:  Undefined variable $res in /home/devdomain/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 485\n
       2023-11-11 21:15:20.294505 [NOTICE] [2290156] [T0] [162.158.155.210:14296-5#APVH_devdomain.host:0] [STDERR] PHP Warning:  Undefined variable $res in /home/devdomain/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 485\n
       2023-11-11 21:15:20.298241 [NOTICE] [2290156] [T0] [162.158.155.210:14296-5#APVH_devdomain.host:0] [STDERR] PHP Warning:  Undefined variable $res in /home/devdomain/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 485\n
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/sudden-plugin-errors/#post-17195764)
 * interesting issue , please update that file , after line 445 , add
 *     ```wp-block-code
       error_log( print_r($key, true) , 3, '/path/to/your/wp/lscwp_key.log' );
       error_log( print_r($data, true), 3, '/path/to/your/wp/lscwp_data.log'  );
       ```
   
 * trigger this happen again , then share the content the inside of lscwp_data.log
   and lscwp_key.log

Viewing 1 replies (of 1 total)

The topic ‘Sudden Plugin Errors’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/sudden-plugin-errors/#post-17195764)
 * Status: resolved