Custom Block Manager blocks in OJS 3.0.2 sometimes cause cache related errors

I have noticed that the blocks created with Custom Block Manager sometimes cause cache related errors. Here the esittely is a simple text block. A few times a day I get these errors:

[Thu May 11 15:24:13 2017] [error] [client 192.xxx] PHP Warning: include(cache/fc-pluginSettings-47-esittely.php): failed to open stream: No such file or directory in lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: https://site.com/journalname/management/settings/access

[Thu May 11 15:24:13 2017] [error] [client 192.xxx] PHP Warning: include(): Failed opening 'cache/fc-pluginSettings-47-esittely.php' for inclusion (include_path='.:classes:pages:lib/pkp:lib/pkp/classes:lib/pkp/pages:lib/pkp/lib/adodb:lib/pkp/lib/phputf8:lib/pkp/lib/pqp/classes:lib/pkp/lib/smarty:.:/usr/share/pear:/usr/share/php') in lib/pkp/classes/cache/FileCache.inc.php on line 46, referer: https://site.com/journalname/management/settings/access

Hi @ajnyga,

I think this is a general feature of the file caching we use, not only the custom block manager plugin – I get a few of these a day as well. They’re cosmetic, but annoying. I suspect I’ll look into replacing the (homebrew) file cache with another standard mechanism.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Thanks, this is definitely not a high priority, at least we are getting this very seldom although having over 30 journals.