softer Posted April 1, 2021 Posted April 1, 2021 Hi, I have a problem with the store. When I try to log in to BO I get an error: Uncaught Exception: Price specification not found for currency: "" FO: "We will be back soon". I tried to delete, update and add packages with localization, but nothing helped. Restarting the server helps to solve the problem, but it reappears after about 1-2 days. The first time the error appeared after downloading the localization package (US). -- Settings -- PrestaShop version: 1.7.6.7 Linux info # 1 SMP wt. June 9 12:58:54 MSK 2020 x86_64 Server software version: Apache / 2.4.29 (Ubuntu) PHP version: 7.2.24-0ubuntu0.18.04.7 MySQL version: 5.7.33-0ubuntu0.18.04.1 MySQL Engine: InnoDB MySQL driver: DbPDO Share this post Link to post Share on other sites More sharing options...
softer Posted April 2, 2021 Posted April 2, 2021 (edited) Problem is with CurrencyObject: Currency Object ( [id] => [name] => [localizedNames:protected] => [iso_code] => [iso_code_num] => [numeric_iso_code] => [conversion_rate] => [deleted] => 0 [active] => [sign] => [symbol] => [localizedSymbols:CurrencyCore:private] => [format] => [blank] => [decimals] => [precision] => [webserviceParameters:protected] => Array ( [objectsNodeName] => currencies [fields] => Array ( [names] => Array ( [getter] => getLocalizedNames [i18n] => 1 ) [name] => Array ( [getter] => getName [modifier] => Array ( [http_method] => 6 [modifier] => setNameForWebservice ) ) [symbol] => Array ( [getter] => getLocalizedSymbols ) [iso_code] => Array ( [modifier] => Array ( [http_method] => 6 [modifier] => setIsoCodeForWebService ) ) ) ) [prefix] => [suffix] => [id_lang:protected] => [id_shop:protected] => [id_shop_list] => Array ( ) [get_shop_from_context:protected] => 1 [table:protected] => currency [identifier:protected] => id_currency [fieldsRequired:protected] => Array ( [0] => iso_code [1] => conversion_rate ) [fieldsSize:protected] => Array ( [iso_code] => 3 [numeric_iso_code] => 3 ) [fieldsValidate:protected] => Array ( [iso_code] => isLanguageIsoCode [numeric_iso_code] => isNumericIsoCode [precision] => isInt [conversion_rate] => isUnsignedFloat [deleted] => isBool [active] => isBool ) [fieldsRequiredLang:protected] => Array ( ) [fieldsSizeLang:protected] => Array ( [name] => 255 [symbol] => 255 ) [fieldsValidateLang:protected] => Array ( [name] => isGenericName ) [tables:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [translator:protected] => [def:protected] => Array ( [table] => currency [primary] => id_currency [multilang] => 1 [fields] => Array ( [iso_code] => Array ( [type] => 3 [validate] => isLanguageIsoCode [required] => 1 [size] => 3 ) [numeric_iso_code] => Array ( [type] => 3 [validate] => isNumericIsoCode [size] => 3 ) [precision] => Array ( [type] => 1 [validate] => isInt ) [conversion_rate] => Array ( [type] => 4 [validate] => isUnsignedFloat [required] => 1 [shop] => 1 ) [deleted] => Array ( [type] => 2 [validate] => isBool ) [active] => Array ( [type] => 2 [validate] => isBool ) [name] => Array ( [type] => 3 [lang] => 1 [validate] => isGenericName [size] => 255 ) [symbol] => Array ( [type] => 3 [lang] => 1 [size] => 255 ) ) [classname] => Currency [associations] => Array ( [l] => Array ( [type] => 2 [field] => id_currency [foreign_field] => id_currency ) ) ) [update_fields:protected] => [force_id] => ) iso_code is null for some reason. Edited April 2, 2021 by softer (see edit history) Share this post Link to post 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