tillkruss/Nginx-FastCGI-Cache

Undefined variable $item

Closed this issue · 0 comments

Hi there, with the new release of the plugin (1.0.6) we're running into a problem where we see the following error messages:

Trying to access array offset on value of type null in /var/www/html/web/app/plugins/nginx-cache/nginx-cache.php on line 211
Undefined variable $item in /var/www/html/web/app/plugins/nginx-cache/nginx-cache.php on line 211

I think this is due to bad placement of the code in nginx-cache.php where $item is not yet available.