Jump to content

[gelöst] Fehler nach Update von 1.7.2 -> 1.7.6


fwj

Recommended Posts

Hallo ich habe versucht via 1Click Upgrade meine aktuelle Shopversion zu aktualisieren.

Dabei bekam ich nach dem DB Update folgende Fehlermeldung:

[INTERNAL] [Ressource]/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/web28397358/html/prestashop/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(368): call_user_func_array('ps_1760_copy_da...', Array) #2 /var/www/web28397358/html/prestashop/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(336): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->runPhpQuery('1.7.6.0', '/* PHP:ps_1760_...') #3 /var/www/web28397358/html/prestashop/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(260): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->runQuery('1.7.6.0', '/* PHP:ps_1760_...') #4 /var/www/web28397358/html/prestashop/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader17.php(52): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->upgradeDb('1.7.2.4') #5 /var/www/web28397358/html/prestashop/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(81): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader17->upgradeDb('1.7.2.4') #6 /var/www/web28397358/html/prestashop/modules/autoupgrade/classes/TaskRunner/Upgrade/UpgradeDb.php(41): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #7 [Ressource]/autoupgrade/ajax-upgradetab.php(52): PrestaShop\Module\AutoUpgrade\TaskRunner\Upgrade\UpgradeDb->run() #8 {main}

[INTERNAL] /var/www/web28397358/html/prestashop/config/config.inc.php line 124 - Error: Call to a member function getName() on null #0 /var/www/web28397358/html/prestashop/modules/autoupgrade/classes/UpgradeContainer.php(475): require_once() #1 /var/www/web28397358/html/prestashop/modules/autoupgrade/classes/TaskRunner/AbstractTask.php(120): PrestaShop\Module\AutoUpgrade\UpgradeContainer->initPrestaShopCore() #2 /var/www/web28397358/html/prestashop/ELwDlHLfTlf/autoupgrade/ajax-upgradetab.php(51): PrestaShop\Module\AutoUpgrade\TaskRunner\AbstractTask->init() #3 {main}

Danach sofort das Rollback angeschoben. Dabei ist folgender Fehler aufgetreten:

[INTERNAL] /var/www/web28397358/html/prestashop/classes/shop/Shop.php line 347 - Invalid argument supplied for foreach()

Das ist jetzt auch der Status Quo. Kann mir jemand helfen was jetzt zu tun ist?

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

Generelle Regel: Upgrades immer vorher auf eine Test-Instanz testen. Hilft dir jetzt aber nicht mehr, da geht wohl nur der Weg über ein manuelles Rollback d.h. aktuelles Shop Verzeihnis umbennen, Backup entpacken, Datenbank umbennen, DB Backup einspielen.

  • Like 1
Link to comment
Share on other sites

31 minutes ago, fwj said:

Warum wird die DB denn in mehreren Teilen gesichert? Und wie kann man diese mittels phpMyAdmin wiederherstellen?

Denke aus PErformance Gründen um Time-Outs zu vermeiden. Du kannst die alle hintereinander mit phpMyAdmin reinladen

  • Like 1
Link to comment
Share on other sites

  • fwj changed the title to [gelöst] Fehler nach Update von 1.7.2 -> 1.7.6

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