PHP FATAL ERROR




Wordpress LScache Plugin: PHP FATAL ERROR

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, I noticed my website has been crashing and returning a critical error message since I enabled image optimization with litespeed cache plugin. My wordpress debug log is filled with PHP Notices like the one below, it happens hundreds of times a day? are these normal? [04-May-2020 00:47:14 UTC] PHP Notice: Undefined offset: 1 in /home/svpremier/public_html/wp-content/plugins/litespeed-cache/src/utility.cls.php on line 783 There is also the following PHP Fatal Error on the debug log that occurs less often than the previous warning but also repeatedly thru the day and I think this is what makes the website crash: [04-May-2020 01:53:41 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /home/svpremier/public_html/wp-includes/class-wp-image-editor-imagick.php on line 355 All this started happening since I enabled image optimization and QUIC.cloud service on the plugin. Could you please assist me with this? Thanks! Gonzalo The page I need help with: http://svpremier.com Hi, That fatal error looks like PHP time out , if you increase max PHP timeout from 60 to higher , like 90 or 120 , how does it go ? Best regards, Thanks for your help. I increased the execution time to 90 see how it responds, I can report back on this? Is the other PHP notice an issue? My debug log has hundreds and hundreds (if not thousands) of this every day. My website is running the image optimizer and is about 70% done?. Not sure if this warning is an issue or if it is a normal PHP notice because I am running the optimizer and it is processing lots of images? any input? [04-May-2020 00:47:14 UTC] PHP Notice: Undefined offset: 1 in /home/svpremier/public_html/wp-content/plugins/litespeed-cache/src/utility.cls.php on line 783 Thanks again! Hi, At this moment I am not sure , but I believe this should be taken care of , I will report to devs for further check. Best regards, That warning is caused bcos in somewhere of your HTML, srcset doesnt have the 2nd param after the url. I just checked the manual (https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images), its allowed. Thanks for the feedback. Will give a fix in v3.0.8.7-rc1 today. This is fixed in v3.0.8.7-rc1. Thanks.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference