Error usageStats plugin after upgrading from OJS 3.1.0-1 to 3.1.1

Hi,

We have just upgrading from OJS 3.1.0-1 to 3.1.1.
usageStats plugin doesn’t display anymore and we have this error in error log file:
PHP Warning: Smarty error: unable to read resource: “file:0/plugins/generic/usageStats/templates/outputFrontend.tpl” in /var/www/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094

It seems that getTemplatePath function of PKPUsageStatsPlugin.inc.php file doesn’t return the good path.

Did we miss something or is there an error somewhere ?

Thanks for your help.
Best regards.
Helene

Hi @Vitaliy, is this error related to oldGregg them not showing statistics graph?

See the last post in this thread:

best regards,

Hi!
There was a bug, you may try this fix.

Regards

1 Like

Hi,

The fix works!

Thanks a lot.
Best regards.
Helene