Jump to content

Parent category does not exist


Recommended Posts

Bonjour

j'ai upgradé un site existant d'une V1.4.5 à une V1.5.6.2, hormis pour l'ancien theme, tout s'est bien passé
je tente d'installer les modules Agile Multi Seller/vendor, mais sur deux modules de la suite j'ai un probleme recurrent, que ce soit en local ou en ligne sur un serveur de dev  :
 

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

j'ai bien entendu recherché sur le net et ai trouvé des personnes ayant eu le meme message,
mais suite à import CSV, ce qui n'est pas mon cas ...

Pourriez vous m'aiguiller sur la manière a corriger ce problème ?

 

Par avance merci

 

post-492600-0-30147200-1397747793_thumb.png

Link to comment
Share on other sites

  • 9 months later...

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