silapi Posted September 9, 2019 Share Posted September 9, 2019 (edited) Hello all, today I tried to "1-Click upgrade" from 1.7.5.1 to 1.7.6.1. Unfortunately, it went wrong. The errors are: [INTERNAL] /var/www/html/adminXXXXXX/autoupgrade/latest/install/upgrade/php/ps_1760_copy_data_from_currency_to_currency_lang.php line 55 - Error: Call to a member function get() on null #0 [internal function]: ps_1760_copy_data_from_currency_to_currency_lang() #1 /var/www/html/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(372): call_user_func_array('ps_1760_copy_da...', Array) #2 /var/www/html/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(340): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->runPhpQuery('1.7.6.0', '/* PHP:ps_1760_...') #3 /var/www/html/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(264): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->runQuery('1.7.6.0', '/* PHP:ps_1760_...') #4 /var/www/html/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(52): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->upgradeDb('1.7.5.1') #5 /var/www/html/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(81): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->upgradeDb('1.7.5.1') #6 /var/www/html/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(41): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #7 /var/www/html/adminXXXXXX/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() #8 {main} Both Front Office and Back Office became blank pages after the operation. Luckily, I backed up the instance before upgrading so I just reverted for now. Do you understand why it doesn't work? Edited September 9, 2019 by silapi (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted September 11, 2019 Share Posted September 11, 2019 $container on that line is null. Strange. I don't know if it can be easily fixed. Obviously, this is not the case in most cases. Link to comment Share on other sites More sharing options...
silapi Posted September 11, 2019 Author Share Posted September 11, 2019 Thanks for the update. Do you have any solution? Link to comment Share on other sites More sharing options...
silapi Posted September 18, 2019 Author Share Posted September 18, 2019 Any suggestion about how I could fix that? Link to comment Share on other sites More sharing options...
tuk66 Posted September 19, 2019 Share Posted September 19, 2019 It can have many reasons. I successfully upgrade with a local copy of the shop in a debugger. But you have to be ready to erase everything and start over. Link to comment Share on other sites More sharing options...
silapi Posted September 19, 2019 Author Share Posted September 19, 2019 Thanks. But do you think it's a problem with my server configuration or with Prestashop? Link to comment Share on other sites More sharing options...
tuk66 Posted September 19, 2019 Share Posted September 19, 2019 I don't know. 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