Title: Cache preloading doesn&#8217;t work anymore
Last modified: September 20, 2025

---

# Cache preloading doesn’t work anymore

 *  Resolved [mathijsen](https://wordpress.org/support/users/mathijsen/)
 * (@mathijsen)
 * [8 months, 2 weeks ago](https://wordpress.org/support/topic/cache-preloading-doesnt-work-anymore/)
 * Hello, since 2 days ago, cache preloading doesn’t work anymore. Neither manually
   triggered nor planned. When I trigger it manually with the button under “preload
   now” it just says “URLs being loaded…” but does nothing. The cache size and the
   amount of files cached stays at zero.
 * I activated wordpress debug log using the “WP Debugging” plugin and that’s the
   log created when triggering cache preloading. It seems there is a fatal PHP error
   caused by the plugin “Real Cookie Banner” but I don’t know whether the failing
   cache preloading is related to this issue:
 *     ```wp-block-code
       [20-Sep-2025 10:11:38 UTC] PHP Deprecated:  html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/widgets.php on line 1638[20-Sep-2025 10:11:38 UTC] PHP Deprecated:  html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/widgets.php on line 1638[20-Sep-2025 10:11:38 UTC] PHP Deprecated:  html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/widgets.php on line 1638[20-Sep-2025 10:11:51 UTC] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type SimpleXMLElement in isset or empty in /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/real-cookie-banner/inc/view/Blocker.php:373Stack trace:#0 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-hook.php(324): DevOwl\RealCookieBanner\view\Blocker->pre_http_request()#1 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()#2 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-http.php(277): apply_filters()#3 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-http.php(656): WP_Http->request()#4 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/http.php(177): WP_Http->get()#5 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(335): wp_remote_get()#6 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(373): WP_Optimize_Page_Cache_Preloader->get_sitemap_urls()#7 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(294): WP_Optimize_Page_Cache_Preloader->get_sitemap_urls()#8 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(205): WP_Optimize_Page_Cache_Preloader->get_site_urls()#9 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/includes/class-wp-optimize-preloader.php(132): WP_Optimize_Page_Cache_Preloader->create_tasks_for_preload_site_urls()#10 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-cache-commands.php(287): WP_Optimize_Preloader->run()#11 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/includes/class-wpo-ajax.php(394): WP_Optimize_Cache_Commands->run_cache_preload()#12 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/includes/class-wpo-ajax.php(127): WPO_Ajax->execute_command()#13 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-hook.php(324): WPO_Ajax->handle_ajax_requests()#14 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#15 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()#16 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-admin/admin-ajax.php(192): do_action()#17 {main}  thrown in /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/real-cookie-banner/inc/view/Blocker.php on line 373[20-Sep-2025 10:11:51 UTC] [CRITICAL] : Uncaught TypeError: Cannot access offset of type SimpleXMLElement in isset or empty in /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/real-cookie-banner/inc/view/Blocker.php:373Stack trace:#0 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-hook.php(324): DevOwl\RealCookieBanner\view\Blocker->pre_http_request()#1 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters()#2 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-http.php(277): apply_filters()#3 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-http.php(656): WP_Http->request()#4 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/http.php(177): WP_Http->get()#5 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(335): wp_remote_get()#6 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(373): WP_Optimize_Page_Cache_Preloader->get_sitemap_urls()#7 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(294): WP_Optimize_Page_Cache_Preloader->get_sitemap_urls()#8 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-page-cache-preloader.php(205): WP_Optimize_Page_Cache_Preloader->get_site_urls()#9 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/includes/class-wp-optimize-preloader.php(132): WP_Optimize_Page_Cache_Preloader->create_tasks_for_preload_site_urls()#10 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/cache/class-wp-optimize-cache-commands.php(287): WP_Optimize_Preloader->run()#11 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/includes/class-wpo-ajax.php(394): WP_Optimize_Cache_Commands->run_cache_preload()#12 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-content/plugins/wp-optimize/includes/class-wpo-ajax.php(127): WPO_Ajax->execute_command()#13 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-hook.php(324): WPO_Ajax->handle_ajax_requests()#14 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#15 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()#16 /mnt/web511/c0/64/5345364/htdocs/wordpress/wp-admin/admin-ajax.php(192): do_action()#17 {main}  thrown
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-preloading-doesnt-work-anymore%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Damilare](https://wordpress.org/support/users/deabiodun/)
 * (@deabiodun)
 * [8 months, 1 week ago](https://wordpress.org/support/topic/cache-preloading-doesnt-work-anymore/#post-18651985)
 * Hi!
   It looks like there could be a plugin conflict on your site.Try disabling
   the Real Cookie Banner plugin, then test the preloader afterwards.
 * If the issue persists, test to confirm if any other plugin could be causing a
   conflict. You can do this by temporarily disabling your plugins, except WPO. 
   Next, check if the preloader works. Once done, enable your plugins one after 
   the other, checking on each turn to see which one causes the preloader to fail.
 * Let us know what you find.
 * Regards.
 *  Thread Starter [mathijsen](https://wordpress.org/support/users/mathijsen/)
 * (@mathijsen)
 * [5 months, 2 weeks ago](https://wordpress.org/support/topic/cache-preloading-doesnt-work-anymore/#post-18758614)
 * Sorry for not answering when the issue was resolved.
 * It was indeed a bug in the plugin Real Cookie Banner throwing a PHP fatal error
   and therefore breaking cache preload.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcache-preloading-doesnt-work-anymore%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [caching](https://wordpress.org/support/topic-tag/caching/)

 * 2 replies
 * 2 participants
 * Last reply from: [mathijsen](https://wordpress.org/support/users/mathijsen/)
 * Last activity: [5 months, 2 weeks ago](https://wordpress.org/support/topic/cache-preloading-doesnt-work-anymore/#post-18758614)
 * Status: resolved