Fatal error: Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(/home/bunkbeds/public_html/cache/smarty): failed to open dir: Permission denied' in /home/bunkbeds/public_html/library/smarty/sysplugins/smarty_internal_cacheresource_file.php:180
Stack trace:
#0 [internal function]: RecursiveDirectoryIterator->__construct('/home/bunkbeds/...', 0)
#1 /home/bunkbeds/public_html/library/smarty/sysplugins/smarty_internal_cacheresource_file.php(180): RecursiveDirectoryIterator->getChildren()
#2 /home/bunkbeds/public_html/library/smarty/Smarty.class.php(772): Smarty_Internal_CacheResource_File->clear(Object(Smarty), 'layout_default....', '15250420531ed97...', NULL, NULL)
#3 /home/bunkbeds/public_html/controllers/product.php(45): Smarty->clearCache('layout_default....', '15250420531ed97...')
#4 /home/bunkbeds/public_html/index.php(70): include('/home/bunkbeds/...')
#5 {main}
thrown in /home/bunkbeds/public_html/library/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 180