Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Was this ever get patched? I’m still having this error occur quite often and i have the most recent version of the plugin. The error prevents pages from loading and the browser times out. Hopefully Till Krüss can crush this bug.

    [error] 374080#374080: *5 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined variable $item in /var/www/html/live/wp-content/plugins/nginx-cache/nginx-cache.php on line 211PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/html/live/wp-content/plugins/nginx-cache/nginx-cache.php on line 211PHP message: PHP Warning: Undefined variable $item in /var/www/html/live/wp-content/plugins/nginx-cache/nginx-cache.php on line 211PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/html/live/wp-content/plugins/nginx-cache/nginx-cache.php on line 211” while reading response header from upstream, request: “GET /wp-admin/tools.php?page=nginx-cache&message=cache-purged HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php8.1-fpm.sock:”

    Thread Starter Meagan

    (@mtruglio)

    We are using a WAF, but disabling it changed nothing. I was able to use a remote management tool along with WP CLI to get all my sites updated. But each time I logged in and updated one myself as described above, it locked up with the redirect error.

    Thread Starter Meagan

    (@mtruglio)

    Just discovered something else you might try. I walked away from my computer for 15 mins and then tried one of the broken sites again; it worked. Not sure it will for everyone, but this worked twice for me now. Plus it gave the added benefit of a short break 😉

    Thread Starter Meagan

    (@mtruglio)

    I just tried a few more sites to see how it would go. I found that anytime i upgrade a site in a browser i get the redirect error. But if i update the site using WP-CLI the upgrade works without issue. Putting this here for the WP team. I now have quite a few broken sites though and the resetting the browser is only working some of the time.

    Thread Starter Meagan

    (@mtruglio)

    I tried clearing out my browser cache just to try something low impact and quick. That seems to have worked on the sites that had the redirect issue. I still have a few sites to update yet, but so far doing that got me back into the Admin panel. Then I refreshed the permalinks, which then allowed me to login normally again. I hope that is helpful.

    Thread Starter Meagan

    (@mtruglio)

    Hey Marius,

    I will attempt the method you recommended later tonight after hours as this is a live website. I will report back with the result. Thanks for the tip!

    Thread Starter Meagan

    (@mtruglio)

    Hey Marius,

    I might be using the wrong terminology. The “automatic” update was when it ran on it’s own last night. The “Manual” update was when i logged in and click the upgrade button to trigger the update. I didn’t manually copy over any files. Sorry for any confusion in terminology.

    Thread Starter Meagan

    (@mtruglio)

    Will do. Thanks 🙂

    Thread Starter Meagan

    (@mtruglio)

    It’s fixed! 🙂 🙂 🙂

    Inspecting the console in firebug revealed the following note in the JSON

    “<!– WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. –>”

    I reactivated WP Super Cache and it repaired the config file, then the calendar began working again. I have deactivated WP Super Cache again as we weren’t using it anyway. But it seems the unexpected JSON Parse was do to an error with WP Super Cache. Thank you so much for all your help! Great Support! 🙂

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