[PrestaShopException]

Parent category does not exist
at line 385 in file classes/Category.php

379. if (!$this->id_parent)
380. return 0;
381.
382. $parent_category = new Category((int)$this->id_parent);
383. if (!Validate::isLoadedObject($parent_category))
384. throw new PrestaShopException('Parent category does not exist');
385. return $parent_category->level_depth + 1;
386. }
387.
388. /**
389. * Re-calculate the values of all branches of the nested tree

CategoryCore->calcLevelDepth - [line 156 - classes/Category.php] - [0 Argument]
CategoryCore->add - [line 1064 - controllers/admin/AdminImportController.php] - [0 Argument]
AdminImportControllerCore->categoryImport - [line 3003 - controllers/admin/AdminImportController.php] - [0 Argument]
AdminImportControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument]
ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument]
DispatcherCore->dispatch - [line 53 - admin10/index.html] - [0 Argument]