WebWeber Posted May 4, 2023 Share Posted May 4, 2023 (edited) When I try to upgrade from 8.0.3 to 8.0.4 with 1-Click Upgrade 4.15 it crashes every time during backup. [INTERNAL] /var/www/vhosts/mysite/modules/autoupgrade/classes/UpgradeTools/Translator.php line 90 - ArgumentCountError: 2 arguments are required, 1 given #0 [internal function]: sprintf('var/cache.old/d...') #1 /var/www/vhosts/mysite/modules/autoupgrade/classes/UpgradeTools/Translator.php(90): call_user_func_array('sprintf', Array) #2 /var/www/vhosts/mysite/modules/autoupgrade/classes/UpgradeTools/Translator.php(68): PrestaShop\Module\AutoUpgrade\UpgradeTools\Translator->applyParameters('var/cache.old/d...', Array) #3 /var/www/vhosts/mysite/modules/autoupgrade/classes/ZipAction.php(107): PrestaShop\Module\AutoUpgrade\UpgradeTools\Translator->trans('%filename% adde...', Array, 'Modules.Autoupg...') #4 /var/www/vhosts/mysite/modules/autoupgrade/classes/TaskRunner/Upgrade/BackupFiles.php(80): PrestaShop\Module\AutoUpgrade\ZipAction->compress(Array, '/var/www/vhosts...') #5 /var/www/vhosts/mysite/admin617r465gf/autoupgrade/ajax-upgradetab.php(53): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\BackupFiles->run() #6 {main} Quote Serverdaten Linux #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 PHP-Version 8.0.28 Memorylimit 512M max_execution_time: 180 Upload (max. filesize) 128M info_outline database MySQL-Version 8.0.33 MySQL-Server 10.35.46.17 Edited May 4, 2023 by WebWeber (see edit history) Link to comment Share on other sites More sharing options...
fmaso Posted May 12, 2023 Share Posted May 12, 2023 Same here... I have a lot problems with the product combinations in 8.0.3, wanted to upgrade to 8.0.4 and exactly the same error is thrown. Link to comment Share on other sites More sharing options...
fmaso Posted May 12, 2023 Share Posted May 12, 2023 I have found a solution that works, just comment the lines 101-108 of ZipAction.php, it's only log information. /modules/autoupgrade/classes/ZipAction.php /*$this->logger->debug($this->translator->trans( '%filename% added to archive. %filescount% files left.', [ '%filename%' => $archiveFilename, '%filescount%' => count($filesList), ], 'Modules.Autoupgrade.Admin' ));*/ 1 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