Jump to content

Upgrade from 8 to 9


Recommended Posts

Try upgrade 2 shop from 8 version. And in 2 shop shop after 3-4 minutes see error:

 

/var/www/fastuser/data/www/smokerschoice.ru/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php line 91 - Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "ets_seo.form.type.seo_type" has a dependency on a non-existent service "form.type.sell.product.seo.seo_type". #0 /var/www/fastuser/data/www/smokerschoice.ru/vendor/symfony/dependency-injection/Compiler/Compiler.php(80): Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #1 /var/www/fastuser/data/www/smokerschoice.ru/vendor/symfony/dependency-injection/ContainerBuilder.php(767): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder)) #2 /var/www/fastuser/data/www/smokerschoice.ru/vendor/symfony/http-kernel/Kernel.php(507): Symfony\Component\DependencyInjection\ContainerBuilder->compile() #3 /var/www/fastuser/data/www/smokerschoice.ru/vendor/symfony/http-kernel/Kernel.php(772): Symfony\Component\HttpKernel\Kernel->initializeContainer() #4 /var/www/fastuser/data/www/smokerschoice.ru/vendor/symfony/http-kernel/Kernel.php(126): Symfony\Component\HttpKernel\Kernel->preBoot() #5 /var/www/fastuser/data/www/smokerschoice.ru/app/AppKernel.php(96): Symfony\Component\HttpKernel\Kernel->boot() #6 /var/www/fastuser/data/www/smokerschoice.ru/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(61): AppKernel->boot() #7 /var/www/fastuser/data/www/smokerschoice.ru/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader80.php(39): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->initKernel() #8 /var/www/fastuser/data/www/smokerschoice.ru/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(110): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader80->initConstants() #9 /var/www/fastuser/data/www/smokerschoice.ru/modules/autoupgrade/classes/Task/Update/UpdateDatabase.php(142): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->setupUpdateEnvironment() #10 /var/www/fastuser/data/www/smokerschoice.ru/modules/autoupgrade/classes/Task/Update/UpdateDatabase.php(49): PrestaShop\Module\AutoUpgrade\Task\Update\UpdateDatabase->warmUp() #11 /var/www/fastuser/data/www/smokerschoice.ru/modules/autoupgrade/classes/Task/Runner/ChainedTasks.php(66): PrestaShop\Module\AutoUpgrade\Task\Update\UpdateDatabase->run() #12 /var/www/fastuser/data/www/smokerschoice.ru/**admin_folder**/autoupgrade/ajax-upgradetab.php(58): PrestaShop\Module\AutoUpgrade\Task\Runner\ChainedTasks->run() #13 {main}

Link to comment
Share on other sites

Turn off all, try one more time and now /var/www/fastuser/data/www/smokerschoice.ru/modules/klaviyopsautomation/classes/PrestashopServices/LoggerService.php line 34 - Declaration of KlaviyoPs\Classes\PrestashopServices\LoggerService::log($level, $message, array $context = []) must be compatible with PrestaShop\PrestaShop\Adapter\LegacyLogger::log($level, $message, array $context = []): void

I think to upgrade for 9 we need delete all from 8))))))

Link to comment
Share on other sites

Next error)))))

/var/www/fastuser/data/www/smokerschoice.ru/modules/ps_metrics/src/Adapter/LoggerAdapter.php line 75 - Declaration of PrestaShop\Module\Ps_metrics\Adapter\LoggerAdapter::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void

Prestashop Team please make something. I try 10 times! Every time i delete module in error, next time see another error with another module!!!! 

Link to comment
Share on other sites

2 hours ago, minfin said:

Next error)))))

/var/www/fastuser/data/www/smokerschoice.ru/modules/ps_metrics/src/Adapter/LoggerAdapter.php line 75 - Declaration of PrestaShop\Module\Ps_metrics\Adapter\LoggerAdapter::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void

Prestashop Team please make something. I try 10 times! Every time i delete module in error, next time see another error with another module!!!! 

Have you tried if your theme ( if you're using custom ) will work on version 9? if you have so much issues, stay on 8.2 either make clean 9.

Link to comment
Share on other sites

1 hour ago, Nickz said:

Why do you try to update? 
And have you done back ups before the intent? 

You shouldn't delete files or folders, just rename those and check if they are responsable. 

 

Update for new, save, fast Presta. I try rename, its ok for one error. When i try update again see new error

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...