Jump to content

Migration from Prestashop 1.7 to 8.2


djo1919

Recommended Posts

 

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

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

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)

Screenshot 2024-12-10 at 21-09-14 1-Click Upgrade 1-Click Upgrade • Electro-Choc Déstockage à électroménagers à Mons - Livraison dans toute la Belgique.png

Edited by djo1919 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...