Chandler123 Posted August 28, 2018 Share Posted August 28, 2018 I'm using "1-Click Upgrade" module to upgrade from PS 1.7.3.3 to 1.7.4.2 .I'm using PHP 7 & "1-Click Upgrade" module version 4.0 . All the files copied fine, DB migration is failing due to below Error [INTERNAL] /opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php line 78 - TypeError: Argument 2 passed to Symfony\Component\Translation\Translator::construct() must be an instance of Symfony\Component\Translation\MessageSelector, instance of Symfony\Component\Translation\Formatter\MessageFormatter given, called in /opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php on line 93 #0/opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php(93): Symfony\Component\Translation\Translator->construct('en-US', Object(Symfony\Component\Translation\Formatter\MessageFormatter), '/opt/bitnami/ap...', false) #1/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/appProdProjectContainer.php(2115): Symfony\Bundle\FrameworkBundle\Translation\Translator->construct(Object(Symfony\Component\DependencyInjection\ServiceLocator), Object(Symfony\Component\Translation\Formatter\MessageFormatter), 'en-US', Array, Array) #2/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/getValidator_BuilderService.php(25): Container2gqwgew\appProdProjectContainer->getTranslator_DefaultService() #3/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/appProdProjectContainer.php(882): require('/opt/bitnami/ap...') #4/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/getValidator_Mapping_CacheWarmerService.php(8): Container2gqwgew\appProdProjectContainer->load('getValidator_Bu...') #5/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/appProdProjectContainer.php(882): require('/opt/bitnami/ap...') #6/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/getCacheWarmerService.php(10): Container2gqwgew\appProdProjectContainer->load('getValidator_Ma...') #7/opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/CacheWarmer/CacheWarmerAggregate.php(29): Container2gqwgew\appProdProjectContainer->{closure}() #8/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/getCacheWarmerService.php(20): Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate->construct(Object(Symfony\Component\DependencyInjection\Argument\RewindableGenerator)) #9/opt/bitnami/apps/prestashop/htdocs/var/cache/prod/Container2gqwgew/appProdProjectContainer.php(882): require('/opt/bitnami/ap...') #10/opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(304): Container2gqwgew\appProdProjectContainer->load('getCacheWarmerS...') #11/opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(684): Symfony\Component\DependencyInjection\Container->get('cache_warmer') #12/opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(135): Symfony\Component\HttpKernel\Kernel->initializeContainer() #13/opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(148): Symfony\Component\HttpKernel\Kernel->boot() #14/opt/bitnami/apps/prestashop/htdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php(135): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands() #15/opt/bitnami/apps/prestashop/htdocs/src/PrestaShopBundle/Service/Database/Upgrade.php(39): Symfony\Bundle\FrameworkBundle\Console\Application->add(Object(PrestaShopBundle\Command\UpdateSchemaCommand)) #16/opt/bitnami/apps/prestashop/htdocs/modules/autoupgrade/classes/UpgradeTools/SymfonyAdapter.php(74): PrestaShopBundle\Service\Database\Upgrade->addDoctrineSchemaUpdate() #17/opt/bitnami/apps/prestashop/htdocs/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(54): PrestaShop\Module\AutoUpgrade\UpgradeTools\SymfonyAdapter->runSchemaUpgradeCommand() #18/opt/bitnami/apps/prestashop/htdocs/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(81): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->upgradeDb('1.7.3.3') #19/opt/bitnami/apps/prestashop/htdocs/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(41): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #20/opt/bitnami/apps/prestashop/htdocs/administration/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() #21 {main} [INTERNAL] /opt/bitnami/apps/prestashop/htdocs/src/Adapter/Configuration.php line 36 - Declaration of PrestaShop\PrestaShop\Adapter\Configuration::get($key, $default = NULL) should be compatible with Symfony\Component\HttpFoundation\ParameterBag::get($key, $default = NULL, $deep = false) [OK] SQL 1.7.4.0 SET SESSION sql_mode = '' [OK] SQL 1.7.4.0 SET NAMES 'utf8' [OK] SQL 1.7.4.0 ALTER TABLE `ps_order_detail` DROP KEY product_id, ADD KEY product_id (product_id, product_attribute_id) [OK] SQL 1.7.4.0 INSERT IGNORE INTO `ps_hook` (`id_hook`, `name`, `title`, `description`, `position`) VALUES (NULL, 'actionAdministrationPageForm', 'Manage Administration Page form fields', 'This hook adds, update or remove fields of the Administration Page form', '1'), (NULL, 'actionAdministrationPageFormSave', 'Processing Administration page form', 'This hook is called when the Administration Page form is processed', '1'), (NULL, 'actionPerformancePageForm', 'Manage Performance Page form fields', 'This hook adds, update or remove fields of the Performance Page form', '1'), (NULL, 'actionPerformancePageFormSave', 'Processing Performance page form', 'This hook is called when the Performance Page form is processed', '1'), (NULL, 'actionMaintenancePageForm', 'Manage Maintenance Page form fields', 'This hook adds, update or remove fields of the Maintenance Page form', '1'), (NULL, 'actionMaintenancePageFormSave', 'Processing Maintenance page form', 'This hook is called when the Maintenance Page form is processed', '1'), (NULL, 'displayAdminEndContent', 'Administration end of content', 'This hook is displayed at the end of the main content, before the footer', '1') [OK] PHP 1.7.4.0 : /* PHP:ps_1740_update_module_tabs(); */ [OK] SQL 1.7.4.1 SET SESSION sql_mode = '' [OK] SQL 1.7.4.1 SET NAMES 'utf8' [OK] SQL 1.7.4.1 ALTER TABLE `ps_cart_rule` ADD KEY `date_from` (`date_from`), ADD KEY `date_to` (`date_to`) [OK] SQL 1.7.4.2 SET SESSION sql_mode = '' [OK] SQL 1.7.4.2 SET NAMES 'utf8' [OK] SQL 1.7.4.2 UPDATE `ps_employee` SET `bo_css` = "theme.css" Errors Link to comment Share on other sites More sharing options...
Guest Posted August 28, 2018 Share Posted August 28, 2018 Restore a backup if you can and wait for the 4.1 module to stabilize Link to comment Share on other sites More sharing options...
Chandler123 Posted August 28, 2018 Author Share Posted August 28, 2018 I also tried using "1-Click Upgrade" module version 4.1 , I tried over 50 times in past 2-3 weeks without any success.Any advise or guidance would be greatly appreciated..!! Link to comment Share on other sites More sharing options...
ksaan Posted August 29, 2018 Share Posted August 29, 2018 Did you guys report these issues to Prestashop team so they can help you fix them ? You can do it by creating an issue on github: https://github.com/PrestaShop/autoupgrade/issues/new/choose Link to comment Share on other sites More sharing options...
aixos Posted August 29, 2018 Share Posted August 29, 2018 (edited) Hi here is explained step by step, it would work, the others did well https://www.prestashop.com/forums/topic/873841-actualización-con-1-click-upgrade-desde-17-a-1742/ regards Edited August 29, 2018 by aixos (see edit history) 1 Link to comment Share on other sites More sharing options...
Chandler123 Posted September 6, 2018 Author Share Posted September 6, 2018 I was able to get it working using below instructions. https://www.prestashop.com/forums/topic/873841-actualización-con-1-click-upgrade-desde-17-a-1742/ Link to comment Share on other sites More sharing options...
aixos Posted September 6, 2018 Share Posted September 6, 2018 4 hours ago, Chandler123 said: I was able to get it working using below instructions. https://www.prestashop.com/forums/topic/873841-actualización-con-1-click-upgrade-desde-17-a-1742/ I'm glad you could have solved it with my postregards 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