gantry / gantry5

:rocket: Next Generation Template / Theme Framework
http://gantry.org
1.04k stars 204 forks source link

Error gantry5/vendor/symfony/yaml/Parser.php : multiple lines after update to 5.5.9 #2992

Open becksteiner opened 2 years ago

becksteiner commented 2 years ago

Hello,

Does anyone would have an idea how to solve that issue. Currently the website ist down because of the grant 5 framework update. :-(

https://www.bluedevils.at/wrn/

Error: Symfony\Component\Yaml\Exception\ParseException thrown with message "A colon cannot be used in an unquoted mapping value at line 95 (near "help: Hints: Enable to close the first item")."

Stacktrace:

42 Symfony\Component\Yaml\Exception\ParseException in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:789

41 Symfony\Component\Yaml\Parser:parseValue in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:400

40 Symfony\Component\Yaml\Parser:doParse in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:522

39 Symfony\Component\Yaml\Parser:parseBlock in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:247

38 Symfony\Component\Yaml\Parser:doParse in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:522

37 Symfony\Component\Yaml\Parser:parseBlock in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:378

36 Symfony\Component\Yaml\Parser:doParse in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:522

35 Symfony\Component\Yaml\Parser:parseBlock in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:247

34 Symfony\Component\Yaml\Parser:doParse in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:522

33 Symfony\Component\Yaml\Parser:parseBlock in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:378

32 Symfony\Component\Yaml\Parser:doParse in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:522

31 Symfony\Component\Yaml\Parser:parseBlock in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:378

30 Symfony\Component\Yaml\Parser:doParse in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Parser.php:142

29 Symfony\Component\Yaml\Parser:parse in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/symfony/yaml/Yaml.php:110

28 Symfony\Component\Yaml\Yaml:parse in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Config/Loaders/YamlConfigLoader.php:26

27 ThemeXpert\Config\Loaders\YamlConfigLoader:load in /home/.sites/3/site1900186/web/4K/libraries/quix/vendor/symfony/config/Loader/DelegatingLoader.php:40

26 Symfony\Component\Config\Loader\DelegatingLoader:load in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Config/Loader.php:88

25 ThemeXpert\Config\Loader:load in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Config/ConfigBag.php:108

24 ThemeXpert\Config\ConfigBag:load in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Config/ConfigBag.php:71

23 ThemeXpert\Config\ConfigBag:fill in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Element/ElementBag.php:75

22 ThemeXpert\Quix\Element\ElementBag:add in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Element/ElementBag.php:58

21 call_user_func_array in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Element/ElementBag.php:58

20 ThemeXpert\Quix\Element\ElementBag:load in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Application.php:273

19 ThemeXpert\Quix\Application:ThemeXpert\Quix{closure} in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Cache.php:128

18 ThemeXpert\Quix\Cache:getCacheById in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Cache.php:103

17 ThemeXpert\Quix\Cache:fetch in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Application.php:300

16 ThemeXpert\Quix\Application:getElements in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Application.php:110

15 ThemeXpert\Quix\Application:ThemeXpert\Quix{closure} in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php:118

14 Pimple\Container:offsetGet in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Application.php:132

13 ThemeXpert\Quix\Application:ThemeXpert\Quix{closure} in /home/.sites/3/site1900186/web/4K/libraries/gantry5/vendor/pimple/pimple/src/Pimple/Container.php:118

12 Pimple\Container:offsetGet in /home/.sites/3/site1900186/web/4K/libraries/quix/src/Quix/Application.php:208

11 ThemeXpert\Quix\Application:getViewRenderer in /home/.sites/3/site1900186/web/4K/libraries/quix/app/drivers/joomla/partials/quix-render-item.php:161

10 quixRenderItem in /home/.sites/3/site1900186/web/4K/components/com_quix/views/page/view.html.php:71

9 QuixViewPage:display in /home/.sites/3/site1900186/web/4K/libraries/src/MVC/Controller/BaseController.php:664

8 Joomla\CMS\MVC\Controller\BaseController:display in /home/.sites/3/site1900186/web/4K/components/com_quix/controller.php:79

7 QuixController:display in /home/.sites/3/site1900186/web/4K/libraries/src/MVC/Controller/BaseController.php:702

6 Joomla\CMS\MVC\Controller\BaseController:execute in /home/.sites/3/site1900186/web/4K/components/com_quix/quix.php:74

5 require_once in /home/.sites/3/site1900186/web/4K/libraries/src/Component/ComponentHelper.php:402

4 Joomla\CMS\Component\ComponentHelper:executeComponent in /home/.sites/3/site1900186/web/4K/libraries/src/Component/ComponentHelper.php:377

3 Joomla\CMS\Component\ComponentHelper:renderComponent in /home/.sites/3/site1900186/web/4K/libraries/src/Application/SiteApplication.php:194

2 Joomla\CMS\Application\SiteApplication:dispatch in /home/.sites/3/site1900186/web/4K/libraries/src/Application/SiteApplication.php:233

1 Joomla\CMS\Application\SiteApplication:doExecute in /home/.sites/3/site1900186/web/4K/libraries/src/Application/CMSApplication.php:225

0 Joomla\CMS\Application\CMSApplication:execute in /home/.sites/3/site1900186/web/4K/index.php:49

Can I somewhere download the install ready package to the former gantry 5 framework 5.5.7 or 5.5.8?

Friendly regards, Robert

mahagr commented 2 years ago

It looks like a bad config YAML file in quix library (using older and invalid syntax that doesn't work anymore).

I don't think that downgrading Gantry works as it has been using the same version of YAML for some time. The change may be in libraries being initialized in different order than they used to.

However, you can find the older releases from here: https://github.com/gantry/gantry5/releases