Exception: Unable to read file /home/inventure/data/web/inventure.com.ua/config/template.yml

/home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Config/YamlConfig.php:22

/home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Config/YamlConfig.php:22
20
$data = Yaml::parse(file_get_contents($file));
21
} catch (ParseException $e){
22
throw new \Exception(p('Unable to read file {0}',[$file]),0);
23
}
24
return $data?$data:[];
25
26
}
27
28
protected function write_file($file, $data){
29
$file = fopen($file,'w');
#0 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Config/AbstractConfig.php(34): Skynar\Config\YamlConfig->read_file('/home/inventure...')
#1 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Service/ConfigManager.php(59): Skynar\Config\AbstractConfig->__construct(Array, Object(Skynar\Service\ConfigManager))
#2 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Service/SmartyTemplateManager.php(367): Skynar\Service\ConfigManager->get('')
#3 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Service/SmartyTemplateManager.php(347): Skynar\Service\SmartyTemplateManager->getTemplateRules()
#4 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Application.php(278): Skynar\Service\SmartyTemplateManager->overrideTemplateInfo(Object(Skynar\Http\Request), Object(Skynar\Http\Response\HtmlResponse))
#5 /home/inventure/data/web/inventure.com.ua/cms/actual/lib/Skynar/Application.php(120): Skynar\Application->view(Object(Skynar\Http\Request), Object(Skynar\Http\Response\HtmlResponse))
#6 /home/inventure/data/web/inventure.com.ua/www/index.php(94): Skynar\Application->run()
#7 {main}