Plugin is working as expected with that change 🙂
Bug is on line 516:
set_transient($gaTransName, $totalResult, 60 * 60 * $options[‘gapp_cache’]);
(60 minutes expiration is instead translated to 3600 minutes/60 hours)
Change line to:
set_transient($gaTransName, $totalResult, 60 * $options[‘gapp_cache’]);
(60 * 60 = 1 hour as expected)
I am experiencing the same issue, the cache must be manually purged. It was previously working and has since broken (I am uncertain when, I suspect around the time WP 4.1 rolled out).
Changing cache time doesn’t work, it’s been set to one hour and not changed since initial setup, but it will never clear on its own anymore.
Had to add this to my htaccess file, was a problem with my host not using the correct version of php:
AddType x-httpd-php53 .php