Wordpress LScache Plugin: Fatal error while purging on PHP8
Last Updated on: Wed, 15 Apr 2026 00:00:02 When purging the cache (or saving something, which causes a purge) a Fatal error is thrown by the following line: purge.clas.php, line 1139: $recent_posts = $wp_widget_factory->widgets[WP_Widget_Recent_Posts] Because in our setup/website weve remove unused widgets, and thus also this one, it generates a notice. But in PHP8 the notice will cause a fatal error. Changing the line into $recent_posts = $wp_widget_factory->widgets[WP_Widget_Recent_Posts] ?? null should fix it. Would be great if this can be solved Thanks! Hi, thanks for the info I have forwarded to our devs best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference