Jump to content

PrestaShopException


claudioverga

Recommended Posts

salve a tutti

ho un problema nell'importare manualmente un file csv contenente le categorie, l'errore che mi da è questo:

 

 

[PrestaShopException]
 
Parent category does not exist
at line 381 in file classes/Category.php
 
376. if (!$this->id_parent)
377. return 0;
378. 
379. $parent_category = new Category((int)$this->id_parent);
380. if (!Validate::isLoadedObject($parent_category))
381. throw new PrestaShopException('Parent category does not exist');
382. return $parent_category->level_depth + 1;
383. }
384. 
385. /**
386.  * Re-calculate the values of all branches of the nested tree
CategoryCore->calcLevelDepth - [line 150 - classes/Category.php]
CategoryCore->add - [line 1213 - controllers/admin/AdminImportController.php]
AdminImportControllerCore->categoryImport - [line 3337 - controllers/admin/AdminImportController.php]
AdminImportControllerCore->postProcess - [line 171 - classes/controller/Controller.php]
ControllerCore->run - [line 373 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 54 - admin123/index.php]
 
dal lato frontend le categorie me le scrive, ma se ci clicco sopra mi da l'errore 404 della pagina non trovata;
 
...è un errore del file che voglio importare, o qualcosa altro?
 
grazie in anticipo
 
 
  • Like 2
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...