djo1919 Posted December 4, 2024 Share Posted December 4, 2024 Hello everyone, After migration from 1.7 to 8.2, I've been facing many problems. PHP Version 8.1 (it was 7.2) I enabled TM_xxxx plugins through the database but nothing changed. Do you have a solution for this? Looking forward to hearing from you Regards Fatal error: Uncaught Symfony\Component\Yaml\Exception\ParseException: Duplicate key "displayHomeBanner" detected at line 99 (near " - tm_subbanner"). in /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php:347 Stack trace: #0 /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(533): Symfony\Component\Yaml\Parser->doParse(Array, 0) #1 /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(329): Symfony\Component\Yaml\Parser->parseBlock(74, 'displayNav1:\n ...', 0) #2 /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(533): Symfony\Component\Yaml\Parser->doParse('modules_to_hook...', 0) #3 /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(329): Symfony\Component\Yaml\Parser->parseBlock(73, 'modules_to_hook...', 0) #4 /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(533): Symfony\Component\Yaml\Parser->doParse(Array, 0) #5 /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(329): Symfony\Component\Yaml\Parser->parseBlock(64, 'configuration:\n...', 0) #6 /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php(96): Symfony\Component\Yaml\Parser->doParse(Array, 0) #7 /home/wwwsrc/Core/Addon/Theme/ThemeRepository.php(167): Symfony\Component\Yaml\Parser->parse('name: PRSADD040...') #8 /home/wwwsrc/Core/Addon/Theme/ThemeRepository.php(85): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository->getConfigFromFile('/home/electrocj...') #9 /home/wwwclasses/shop/Shop.php(511): PrestaShop\PrestaShop\Core\Addon\Theme\ThemeRepository->getInstanceByName('PRSADD040') #10 /home/wwwclasses/shop/Shop.php(150): ShopCore->setTheme() #11 /home/wwwclasses/shop/Shop.php(431): ShopCore->__construct('1') #12 /home/wwwconfig/config.inc.php(117): ShopCore::initialize() #13 /home/wwwadmin335jdegob/index.php(40): require('/home/electrocj...') #14 {main} thrown in /home/wwwvendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php on line 347 Link to comment Share on other sites More sharing options...
JBW Posted December 5, 2024 Share Posted December 5, 2024 Did you upgrade you theme and it's modules to be 8.2 compatible? This error is related to cutom hook used by module tm_subbanner 18 hours ago, djo1919 said: displayHomeBanner" detected at line 99 (near " - tm_subbanner"). Link to comment Share on other sites More sharing options...
djo1919 Posted December 10, 2024 Author Share Posted December 10, 2024 (edited) THank you for your reply. I restored it. Now I decided to disable the template and replace it with the default theme before upgrading to 1.7.8 instead during the upgrade I've got this error (1-Click update module).Now I've got this problem: [INTERNAL] /home/www/src/PrestaShopBundle/Form/Admin/Extension/ModifyAllShopsExtension.php line 49 - Class PrestaShopBundle\Form\Admin\Extension\ModifyAllShopsExtension contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Form\FormTypeExtensionInterface::getExtendedType) Edited December 10, 2024 by djo1919 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now