Fatal error: Uncaught SmartyException: unable to create directory /var/www/vhosts/megafiesta.es/httpdocs/var/cache/dev/smarty/cache/stcountdown/1/1/1/10/1/6_bestsales/transformer/7a/e4/3b in /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php:45
Stack trace:
#0 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php(125): Smarty_Internal_Runtime_WriteFile->writeFile()
#1 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php(163): Smarty_Internal_CacheResource_File->writeCachedContent()
#2 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php(148): Smarty_Internal_Runtime_UpdateCache->write()
#3 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php(126): Smarty_Internal_Runtime_UpdateCache->writeCachedContent()
#4 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php(42): Smarty_Internal_Runtime_UpdateCache->removeNoCacheHash()
#5 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_template_cached.php(143): Smarty_Internal_Runtime_UpdateCache->updateCache()
#6 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(212): Smarty_Template_Cached->render()
#7 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#8 /var/www/vhosts/megafiesta.es/httpdocs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#9 /var/www/vhosts/megafiesta.es/httpdocs/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch()
#10 /var/www/vhosts/megafiesta.es/httpdocs/classes/module/Module.php(2273): SmartyDevTemplateCore->fetch()
#11 /var/www/vhosts/megafiesta.es/httpdocs/modules/stcountdown/stcountdown.php(1002): ModuleCore->fetch()
#12 /var/www/vhosts/megafiesta.es/httpdocs/classes/Hook.php(1077): StCountDown->hookDisplayHeader()
#13 /var/www/vhosts/megafiesta.es/httpdocs/classes/Hook.php(418): HookCore::coreCallHook()
#14 /var/www/vhosts/megafiesta.es/httpdocs/classes/Hook.php(983): HookCore::callHookOn()
#15 /var/www/vhosts/megafiesta.es/httpdocs/classes/controller/FrontController.php(622): HookCore::exec()
#16 /var/www/vhosts/megafiesta.es/httpdocs/override/classes/controller/FrontController.php(11): FrontControllerCore->initContent()
#17 /var/www/vhosts/megafiesta.es/httpdocs/controllers/front/listing/BestSalesController.php(61): FrontController->initContent()
#18 /var/www/vhosts/megafiesta.es/httpdocs/classes/controller/Controller.php(319): BestSalesControllerCore->initContent()
#19 /var/www/vhosts/megafiesta.es/httpdocs/classes/Dispatcher.php(510): ControllerCore->run()
#20 /var/www/vhosts/megafiesta.es/httpdocs/index.php(28): DispatcherCore->dispatch()
#21 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: unable to create directory /var/www/vhosts/megafiesta.es/httpdocs/var/cache/dev/smarty/cache/stcountdown/1/1/1/10/1/6_bestsales/transformer/7a/e4/3b in /var/www/vhosts/megafiesta.es/httpdocs/classes/Hook.php:431
Stack trace:
#0 /var/www/vhosts/megafiesta.es/httpdocs/classes/Hook.php(983): HookCore::callHookOn()
#1 /var/www/vhosts/megafiesta.es/httpdocs/classes/controller/FrontController.php(622): HookCore::exec()
#2 /var/www/vhosts/megafiesta.es/httpdocs/override/classes/controller/FrontController.php(11): FrontControllerCore->initContent()
#3 /var/www/vhosts/megafiesta.es/httpdocs/controllers/front/listing/BestSalesController.php(61): FrontController->initContent()
#4 /var/www/vhosts/megafiesta.es/httpdocs/classes/controller/Controller.php(319): BestSalesControllerCore->initContent()
#5 /var/www/vhosts/megafiesta.es/httpdocs/classes/Dispatcher.php(510): ControllerCore->run()
#6 /var/www/vhosts/megafiesta.es/httpdocs/index.php(28): DispatcherCore->dispatch()
#7 {main}
thrown in /var/www/vhosts/megafiesta.es/httpdocs/classes/Hook.php on line 431