• Hello,
    I get this error constantly. Possibly this is the cause I get instant disconnections (error 520 in CloudFlare)

    [01-Sep-2020 04:30:43 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type WP_Query as array in /home/xxx/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:3095
    Stack trace:
    #0 /home/xxx/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(2557): wp_cache_post_id()
    #1 /home/xxx/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(1876): wp_cache_shutdown_callback()
    #2 [internal function]: wp_cache_ob_callback('<!doctype html>...', 9)
    #3 /home/xxx/public_html/wp-includes/functions.php(4669): ob_end_flush()
    #4 /home/xxx/public_html/wp-includes/class-wp-hook.php(287): wp_ob_end_flush_all('')
    #5 /home/xxx/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #6 /home/gas/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #7 /home/gas/public_html/wp-includes/load.php(1001): do_action('shutdown')
    #8 [internal function]: shutdown_action_hook()
    #9 {main}
      thrown in /home/xxx/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 3095

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m afraid I don’t know what causes that. The only thing on line 3095 is an is_singular() check. What kind of URL causes this? Is it a post, a page, an archive, the front page?

    Thread Starter gasmas75

    (@gasmas75)

    Hi @donncha. The URLs are mostly single posts. I’ve disabled the plugin for the moment, but I still have it enabled on the dev site. I can monitor if you wish and give back the results.
    For the record since I disabled it the issues with 520 errors are gone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal Error’ is closed to new replies.