Stacey 2.3 sometimes makes my cache corrupt by adding a duplicate "up one directory"
Sometimes the cache for my website goes corrupt and I get a website that looks similar to this.

This is because all the paths that say ../ are changed to ../../ by the Stacey's cache.
This happens occassionally but only after weeks or months has passed, so I can't recreate the error. But it's got something to do with how the cache is generated.
The file name in the app/cache folder is called Li9jb250ZW50L3dvcms,
I'm using Stacey 2.3 Is there a fix for this?
<link rel="stylesheet" type="text/css" href="../../public/stylesheet.css">
<a href="../../work/adopted"><img src="../../public/images/work_chooseme_adopted.png" class="responsive-eightteen" width="61" height="12" style=" margin-bottom: 22px; margin-left: 12px;" alt="adopted software"></a>
The bug seems to be caused by using an old version of PHP 7. I don't have the time to debug this, as I have no need to use any older versions. Especially as there is a mysql bug in earlier versions of PHP 7.x which are only fixed in PHP 7.4, for connecting to newer versions of mysql.