-
I am having the same issue. I get an error page with this:
BadMethodCallException
Cache path not defined for compiled files!
Open: /site/htdocs/libraries/gantry5/classes/Gantry/Component/File/CompiledFile.php
*
* @param mixed $var
* @return string
*/
public function content($var = null)
{
if (!static::$cachePath) {
throw new \BadMethodCallException('Cache path not defined for compiled files!');
}
When I reload, it goes away. I have "development" set on in the error reporting settings for the site so I am assuming that's why the error message is so detailed. It appears to be when the gantry cache is initially cleared. I do not have site caching enabled or any other caching plugins enabled.
I have the tmp directory set as not the default but it works fine for everything else (it's just up one directory from the root htdocs folder, in the example above, it would be /site/tmp)
-
The following users have thanked you: Gordon Sutton