You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading Silverstripe to 3.1.13 gave error on YAML language line "Help2:". It differs from English one with \n\t when in original has only \n. And site is in Finnish. Fixed it by removing \t characters and additional spaces before last div in the YAML translation file (line: 261 on the fi.yml-file)
Error: "[User Error] Uncaught InvalidArgumentException: Unable to parse string: Malformed inline YAML string ("\n\tEdistynyt käyttö\n\t\n\tSallitut palstat: %s\n\tOlemassa olevat ryhmät kohdistetaan niiden uniikin Code arvolla, ja päivitetään uudet arvot tuodusta tiedostosta\n\tOikeustasot voidaan luoda käyttämällä ParentCode palstaa.\n\tOikeustasokoodit voidaan kohdistaa PermissionCode palstassa. Olemassaolevia oikeusia ei tyhjennetä.\n\t\n)."
Upgrading Silverstripe to 3.1.13 gave error on YAML language line "Help2:". It differs from English one with \n\t when in original has only \n. And site is in Finnish. Fixed it by removing \t characters and additional spaces before last div in the YAML translation file (line: 261 on the fi.yml-file)
Error: "[User Error] Uncaught InvalidArgumentException: Unable to parse string: Malformed inline YAML string ("\n\tEdistynyt käyttö\n\t\n\tSallitut palstat: %s\n\tOlemassa olevat ryhmät kohdistetaan niiden uniikin Code arvolla, ja päivitetään uudet arvot tuodusta tiedostosta\n\tOikeustasot voidaan luoda käyttämällä ParentCode palstaa.\n\tOikeustasokoodit voidaan kohdistaa PermissionCode palstassa. Olemassaolevia oikeusia ei tyhjennetä.\n\t\n)."
Source:
92 $yaml = new sfYamlParser();
93
94 try
95 {
96 $ret = $yaml->parse($input);
97 }
98 catch (Exception $e)
99 {
100 throw new InvalidArgumentException(sprintf('Unable to parse %s: %s', $file ? sprintf('file "%s"', $file) : 'string', $e->getMessage()));
101 }
102
103 return $ret;
104 }
105
106 /**
The text was updated successfully, but these errors were encountered: