OJS 3.0.2.0 - Malformed cache files

Hello.

Recently the system started making malformed cache files.

The logs inform me things such as:

PHP Parse error: syntax error, unexpected ''<p><a title="Redalyc" href="h' (T_ENCAPSED_AND_WHITESPACE) in /srv/www-ojs/cc/mercator/cache/fc-pluginSettings-1-indexadores.php

fc-pluginSettings-1-indexadores.php, as i understand, is the cache file for the custom block called “Indexadores”. After opening i could clearly see that the file was halfway done. I removed the custom block in order to see if that would solve the problem. It did not. After that the problem appeared in a locale file, fc-locale-##########.php.

That makes me believe it’s some problem with the cache system in general.

I would like to try and disable the cache system, but there seems to be no intended way to do that.
FileCache.lib.inc.php seems like a good place to start cutting code, but i I’d like to avoid that if possible.

Can anyone provide any insight? Either on fixing the malformed files or disabling the cache altogether?

Thanks in advance.