Hello respected experts.
Prestashop 8.0.4
After I've changed my current custom theme to classic, entire backoffice along with the front crashed. Please help to solve this, I only need to get back to my custom theme.
Here is what the log says:
[19-Jul-2023 10:25:38 UTC] PHP Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: Unable to parse at line 63 (near " modules_to_hook:"). in /home/zegyntblo26o/public_html/cstms_store/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php:493
Stack trace:
#0 /home/zegyntblo26o/public_html/cstms_store/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(533): Symfony\Component\Yaml\Parser->doParse()
#1 /home/zegyntblo26o/public_html/cstms_store/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(329): Symfony\Component\Yaml\Parser->parseBlock()
#2 /home/zegyntblo26o/public_html/cstms_store/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(96): Symfony\Component\Yaml\Parser->doParse()
#3 /home/zegyntblo26o/public_html/cstms_store/src/Core/Addon/Theme/ThemeRepository.php(167): Symfony\Component\Yaml\Parser->parse()
#4 /home/zegyntblo26o/public_html/cstms_store/src/Core/Addon/Theme/ThemeRepository.php(85): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository->getConfigFromFile()
#5 /home/zegyntblo26o/public_html/cstms_store/classes/shop/Shop.php(504): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository->getInstanceByName()
#6 /home/zegyntblo26o/public_html/cstms_store/classes/shop/Shop.php(147): ShopCore->setTheme()
#7 /home/zegyntblo26o/public_html/cstms_store/classes/shop/Shop.php(425): ShopCore->__construct()
#8 /home/zegyntblo26o/public_html/cstms_store/config/config.inc.php(117): ShopCore::initialize()
#9 /home/zegyntblo26o/public_html/cstms_store/index.php(27): require('/home/zegyntblo...')
#10 {main}
thrown in /home/zegyntblo26o/public_html/cstms_store/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php on line 493