mohith kumar Posted March 29, 2018 Share Posted March 29, 2018 Layered navigation block when click on edit button below here is show [PrestaShopException] Selected categories value must be an arrayat line 227 in file classes/helper/HelperTreeCategories.php 222. } 223. 224. public function setSelectedCategories($value) 225. { 226. if (!is_array($value)) { 227. throw new PrestaShopException('Selected categories value must be an array'); 228. } 229. 230. $this->_selected_categories = $value; 231. return $this; 232. } HelperTreeCategoriesCore->setSelectedCategories - [line 1607 - modules/blocklayered/blocklayered.php] - [1 Arguments] BlockLayered->getContent - [line 867 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcessCallback - [line 1116 - controllers/admin/AdminModulesController.php] AdminModulesControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] Link to comment Share on other sites More sharing options...
onishenko-andrei Posted May 22, 2018 Share Posted May 22, 2018 Выбранное значение категории должно быть массивом в строке 258 в классах файлов / helper / HelperTreeCategories.php 253.} 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