Support » Plugin: WP Super Cache » [BUG REPORT] query_var fatal error since the latest update [Wordfence conflict]

  • Resolved Testing Things

    (@atx)


    Hello there,
    After updating WP Super cache to the latest release (1.5.4), I started getting tons of fatal errors in my log file:

    PHP Fatal error:  Call to a member function get() on null in PATH/wp-includes/query.php on line 28, referer: WHATEVER_LINK_IS_VISITED
    [Mon Aug 28 17:11:01] [:error] [client CLIENT_IP:34178] PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0, referer: WHATEVER_LINK_IS_VISITED

    Let me give you more info about the bug:
    CLIENT_IP in the previous code refers to a Blocked IP from the WordFence plugin. This fatal error only occurs when someone who is blocked by the WordFence plugin tries to access the website.
    I know the error comes from WP Super Cache because 1. it started just after the update 2. after disabling the plugin I get not more errors 3. WordFence didn’t change their code. Here is the related thread: https://wordpress.org/support/topic/bug-fatal-error-when-visiting-from-blocked-ip/

    So obiously the latest version of WP Super Cache has conflicts with Wordfence blocking settings, the page always crash when someone is blocked (which isn’t That problematic since they are blocked anyway, but I get totally spammed by fatal errors in my logs).
    Please help me fix this issue ASAP.
    Feel free to ask for more info if you need to.
    Regards, and keep up the good work.
    AtX.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[BUG REPORT] query_var fatal error since the latest update [Wordfence conflict]’ is closed to new replies.