Jump to content

[SOLVED] Exception when changing timezone


mty

Recommended Posts

Hi,

 

I recently tried to change our time zone to Australia/Melbourne from Athens and it gave me the below exception, I also get the same exception when trying to remove Euro from the currency menu. Does anyone have any idea what might be causing this? Any help would be grealy appreciated.

[PrestaShopException]

Property Currency->sign is empty
at line 790 in file classes/ObjectModel.php

784. 
785. 			$message = $this->validateField($field, $this->$field);
786. 			if ($message !== true)
787. 			{
788. 				if ($die)
789. 					throw new PrestaShopException($message);
790. 				return $error_return ? $message : false;
791. 			}
792. 		}
793. 
794. 		return true;

    ObjectModelCore->validateFields - [line 265 - classes/ObjectModel.php] - [0 Argument]
    ObjectModelCore->getFields - [line 551 - classes/ObjectModel.php] - [0 Argument]
    ObjectModelCore->update - [line 369 - classes/Currency.php] - [0 Argument]
    CurrencyCore->refreshCurrency - [line 396 - classes/Currency.php] - [3 Arguments]
    CurrencyCore::refreshCurrencies - [line 327 - controllers/admin/AdminLocalizationController.php] - [0 Argument]
    AdminLocalizationControllerCore->updateOptionPsCurrencyDefault - [line 948 - classes/controller/AdminController.php] - [1 Arguments]
    AdminControllerCore->processUpdateOptions - [line 539 - classes/controller/AdminController.php] - [0 Argument]
    AdminControllerCore->postProcess - [line 181 - controllers/admin/AdminLocalizationController.php] - [0 Argument]
    AdminLocalizationControllerCore->postProcess - [line 159 - classes/controller/Controller.php] - [0 Argument]
    ControllerCore->run - [line 349 - classes/Dispatcher.php] - [0 Argument]
    DispatcherCore->dispatch - [line 43 - admin123/index.php] - [0 Argument]

Cheers, Matt

 

Fix: So I noticed the error says theres no sign for a currency, and also noticed there was no sign for Euro, gave it a € sign and then I was able to delete it and also change my time zone and other localization settings. Hope this helps someone else.

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

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