serner Posted May 15, 2018 Share Posted May 15, 2018 Bonjour a tous.. j'ai une erreur 500 qui c'est affiché quand j'ai vider le catalogue de prestashop. ça me le fait que sur mon thème, alors que ça ne le faisait pas avant. Quelqu'un pourrait-il m'éclairer ? Invalid category varsat line 373 in file classes/Link.php 368. if (is_array($category) && isset($category['id_category'])) { 369. $category = new Category($category, $idLang); 370. } elseif ((int) $category) { 371. $category = new Category((int) $category, $idLang); 372. } else { 373. throw new PrestaShopException('Invalid category vars'); 374. } 375. } 376. return $category; 377. } Link to comment Share on other sites More sharing options...
doekia Posted May 15, 2018 Share Posted May 15, 2018 Version ? Link to comment Share on other sites More sharing options...
serner Posted May 15, 2018 Author Share Posted May 15, 2018 (edited) 1,7,2,4 le theme est compatible il marché très bien avant que je vide le catalogue Edited May 15, 2018 by serner (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted May 15, 2018 Share Posted May 15, 2018 Prestashop 1.7 n'a besoin de personne pour crasher comme un gangreneux ashmatique. Qu'entends tu par vider le catalogue? Link to comment Share on other sites More sharing options...
serner Posted May 15, 2018 Author Share Posted May 15, 2018 (edited) j'ai utiliser le module Nettoyage de PrestaShop "Prestashop 1.7 n'a besoin de personne pour crasher comme un gangreneux ashmatique." Aille ca ne me rassure pas j'ai aussi fait ca CONTRAINTES D'INTÉGRITÉ FONCTIONNELLE Vérifier et réparer NETTOYAGE DE LA BASE DE DONNÉES Edited May 15, 2018 by serner (see edit history) Link to comment Share on other sites More sharing options...
doekia Posted May 15, 2018 Share Posted May 15, 2018 Le module pscleaner à probablement viré les catégories root et racine !! ce n'est qu'une supposition, car il y a tellement de bug pathétique en 1.7 que si tu veux faire du e-commerce, je ne saurais trop te conseiller d'utiliser la 1.6. Link to comment Share on other sites More sharing options...
julien Posted May 15, 2018 Share Posted May 15, 2018 J ai ue exactement le même que toi , aucun moyen de trouvé la solution du problème . La seul chose qui a fonctionne c est la restaure d'ovh via : manager v3 => hébergement =>sélectionne ton site =>FTP-SSH => restaurer une sauvegarde . Si tu es chez ovh j ai fait comme ça et sa a fonctionné Link to comment Share on other sites More sharing options...
serner Posted May 15, 2018 Author Share Posted May 15, 2018 ok merci de vos réponses 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