• Resolved mathijsen

    (@mathijsen)


    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:

    [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:373
    Stack 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:373
    Stack 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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Damilare

    (@deabiodun)

    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

    (@mathijsen)

    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 to reply to this topic.