On 1/12/2021 at 5:45 PM, Rita Ramos said:
UndefinedMethodException
Symfony\Component\Debug\Exception\UndefinedMethodException: Attempted to call an undefined method named "getPattern" of class "Currency". at src/Core/Localization/Currency/DataLayer/CurrencyDatabase.php:120 at PrestaShop\PrestaShop\Core\Localization\Currency\DataLayer\CurrencyDatabase->doRead(object(LocalizedCurrencyId)) (src/Core/Data/Layer/AbstractDataLayer.php:90) at PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->read(object(LocalizedCurrencyId)) (src/Core/Data/Layer/AbstractDataLayer.php:150) at PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->propagateRead(object(LocalizedCurrencyId)) (src/Core/Data/Layer/AbstractDataLayer.php:94) at PrestaShop\PrestaShop\Core\Data\Layer\AbstractDataLayer->read(object(LocalizedCurrencyId)) (src/Core/Localization/Currency/CurrencyDataSource.php:67) at PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getLocalizedCurrencyData(object(LocalizedCurrencyId)) (src/Core/Localization/Currency/CurrencyDataSource.php:110) at PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->formatCurrenciesData(array('EUR'), 'pt-PT') (src/Core/Localization/Currency/CurrencyDataSource.php:97) at PrestaShop\PrestaShop\Core\Localization\Currency\CurrencyDataSource->getAllInstalledCurrenciesData('pt-PT') (src/Core/Localization/Currency/Repository.php:87) at PrestaShop\PrestaShop\Core\Localization\Currency\Repository->getAllInstalledCurrencies('pt-PT') (src/Core/Localization/Locale/Repository.php:207) at PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getPriceSpecifications('pt-PT') (src/Core/Localization/Locale/Repository.php:150) at PrestaShop\PrestaShop\Core\Localization\Locale\Repository->getLocale('pt-PT') (classes/controller/Controller.php:189) at ControllerCore->init() (classes/controller/AdminController.php:2782) at AdminControllerCore->init() (classes/controller/Controller.php:273) at ControllerCore->run() (classes/Dispatcher.php:515) at DispatcherCore->dispatch() (admin8943a56v4/index.php:97)
Hi joseantgv,
thanks for your interest.
Right now I deleted all my experiments in localhost but my error is identical to Rita Ramos I quoted here.
I tried several approaches: using different php versions, disabling custom theme before upgrading, checking currencies before upgrading and several other.
I didn't get any error messages in BO after 1 click upgrade but the message I get after this operation is the one I enclose here.
Website I'm trying to update is a 1.7.6.2 correctly upgraded to 1.7.6.4 several months ago.
Thanks