porsin Posted May 18, 2016 Share Posted May 18, 2016 Arkadaşlar Merhaba. ürün ekleyeceğim zaman [PrestaShopException]Root category must be an integer valueat line 212 in file classes/helper/HelperTreeCategories.php 207. }208.209. public function setRootCategory($value)210. {211. if (!Validate::isInt($value)) {212. throw new PrestaShopException('Root category must be an integer value');213. }214.215. $this->_root_category = $value;216. return $this;217. } HelperTreeCategoriesCore->setRootCategory - [line 2504 - controllers/admin/AdminProductsController.php] - [1 Arguments] AdminProductsControllerCore->initContent - [line 189 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] hatası alıyorum. Ne yapabilirim. Link to comment Share on other sites More sharing options...
askinjew Posted May 18, 2016 Share Posted May 18, 2016 (edited) Merhaba HelperTreeCategories.php nin yedeğini aldıktan sonra 213. satırı silip ( } ) tekrar kontrol ediniz. Sanırım burdaki kapatma (}) satırın tamamlanmasını etkiliyor. Edited May 18, 2016 by askinjew (see edit history) 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