Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter zampettim

    (@zampettim)

    I’m not able to determine if there is any performance issues and there does not appear to be any admin issues. But the error is repeatable just by keeping the Browser Console open in Developer Tools (on Firefox). There are also PHP errors in the PHP log on the server associated with this, so is definitely a bug in the code.

    Looking at line 352 in PgCache_Plugin_Admin.php, the line is:

    $pagecache[‘requests’] = $summary[‘php’][‘php_requests_v’];

    But looking through the rest of the code, there is nothing that ensures that $summary[‘php’][‘php_requests_v’] exists or is set. There is a check of isset($summary[‘php’]). So it would appear to be that the simple fix is to test to see if array key exists, and if not, abort the rest of the function or otherwise compensate.

    Thread Starter zampettim

    (@zampettim)

    I’m using the free version, so the Statistics is not able to be enabled. Purging cache has not effect and the error persists.

    Thread Starter zampettim

    (@zampettim)

    Thanks. Yes, the plugin is working fine, but removing deprecation warnings is always a good idea.

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