Wordpress LScache Plugin: Litespeed Loads Pages Incorrectly
Last Updated on: Wed, 15 Apr 2026 00:00:02 Dear all, from the begining of this year my page started to be loaded incorrectly. first I blame the onesignal plugin because of the errors on the chrome inspect section. Tried to fix it. But recently I have realized on my error log, ever minute litespeed creates errors like shown as below /wp-content/plugins/litespeed-cache/src/error.cls.php on line 169,152,136,75 can somebody help me please? The page I need help with: https://www.akillisebekeler.com/ Hi, there should be more information in error log ? and also please state what/how exactly was it loaded incorrectly ? like page in blank ? bad shape ? no style ? or something more descriptive than incorrectly ? Best regards, @CacheCrawler please find attached files as screenshots https://imgur.com/a/tK2Jxuc and unfortunately in the error log there was no more explanation But I can sent entire litespeed debuglog if needed.. Regards, Sertac Hi, I mean , shouldnt there be more lines to the error log instead of only shows /wp-content/plugins/litespeed-cache/src/error.cls.php on line 169,152,136,75 Ive never seen php error log out in such way though? and I am sorry I am not sure what am I supposed to be looking at the screenshot please do me a side-by-side comparison and mark where the issue is Best regards, Hi, in the screen shot the primary menu and secondary menu collapse together which is incorrect, second screenshots shows the empty area which shouldnt be there, and error log contains /wp-content/plugins/litespeed-cache/src/error.cls.php on line 169 /wp-content/plugins/litespeed-cache/src/error.cls.php on line 152 /wp-content/plugins/litespeed-cache/src/error.cls.php on line 136 /wp-content/plugins/litespeed-cache/src/error.cls.php on line 75 this is all I see and know.. i am sorry to be able to describe more to make it clear, but this is what I am facing.. Hi, emmmm , I still cant believe the log only shows up like that it usually should show like [30-Dec-2020 14:22:19 UTC] PHP Warning: strpos() expects parameter 1 to be string, array given in /xxx/wp-content/plugins/litespeed-cache/src/optimize.cls.php on line 232 Sorry qtwrk my mistake here is the all PHP Warning: strpos() expects parameter 1 to be string, array given in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 70 PHP Warning: strpos() expects parameter 1 to be string, array given in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 127 PHP Warning: substr() expects parameter 1 to be string, array given in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 143 PHP Warning: Illegal offset type in isset or empty in xxx/wp-content/plugins/litespeed-cache/src/error.cls.php on line 160 Hi, okay please edit file /wp-content/plugins/litespeed-cache/src/error.cls.php at line 40, you will see switch ( $code ) add this 3 lines below it error_log( start_mark , 3 , xxx/lscwp.log ) error_log( print_r($code, TRUE) , 3 , xxx/lscwp.log ) error_log( end_mark , 3 , xxx/lscwp.log ) change the path xxx/lscwp.log where xxx to be same path as your wp-config.php then trigger the error again , then please post the content of lscwp.log Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference