prudenziani Posted April 2, 2021 Share Posted April 2, 2021 Bonjour, j'ai un énorme problème ! seriez vous m'aidez s'il vous plait ? j'ai suprimé tous prestashop suite a une mise a jour qui a tous planté et j'ai ré installer la backup et voila ce qu'il me dit Fatal error: Uncaught Error: Class 'Cache' not found in /home/mpsanitb/public_html/classes/ObjectModel.php:1999 Stack trace: #0 /home/mpsanitb/public_html/classes/ObjectModel.php(232): ObjectModelCore::getDefinition('Shop') #1 /home/mpsanitb/public_html/classes/shop/Shop.php(128): ObjectModelCore->__construct('1', NULL, NULL) #2 /home/mpsanitb/public_html/classes/shop/Shop.php(413): ShopCore->__construct('1') #3 /home/mpsanitb/public_html/config/config.inc.php(119): ShopCore::initialize() #4 /home/mpsanitb/public_html/admin2012g11cz/index.php(40): require('/home/mpsanitb/...') #5 {main} thrown in /home/mpsanitb/public_html/classes/ObjectModel.php on line 1999 Link to comment Share on other sites More sharing options...
Eolia Posted April 2, 2021 Share Posted April 2, 2021 (edited) Est-ce que le fichier /classes/cache/Cache.php est présent sur votre serveur ? Si oui, supprimez le fichier /cache/class_index.php s'il existe. Edited April 2, 2021 by Eolia (see edit history) Link to comment Share on other sites More sharing options...
prudenziani Posted April 2, 2021 Author Share Posted April 2, 2021 Bonjour, merci de votre rapidité aucun dossier cache n'est présent j'ai lu que l'on devait re installer en local un prestashop et coller le cache dedans sauf que je me rapelle plus de ma version : 1.7.6.? le dernière chiffre je me rappelle pas Link to comment Share on other sites More sharing options...
Eolia Posted April 2, 2021 Share Posted April 2, 2021 il y a 6 minutes, Eolia a dit : Est-ce que le fichier /classes/cache/Cache.php est présent sur votre serveur ? Merci de répondre à cette première question svp En 1.7, pour le fichier class_index.php c'est dans /var/cache/dev/ et /var/cache/prod/ Link to comment Share on other sites More sharing options...
prudenziani Posted April 2, 2021 Author Share Posted April 2, 2021 excusez moi je pensais avoir répondu , non le dossier cache n'est pas présent Link to comment Share on other sites More sharing options...
Eolia Posted April 2, 2021 Share Posted April 2, 2021 Vous devriez avoir quelque chose comme ça: Si ce n'est pas le cas il va falloir récupérer les fichiers coeur de votre version depuis le zip de Prestashop Link to comment Share on other sites More sharing options...
prudenziani Posted April 2, 2021 Author Share Posted April 2, 2021 Excusez moi , mais je n'est plus le dossier Prestashop zip j'aimerai télécharger sur leurs site par contre je n'est plus la version complet de mon prestashop 1.7.6.? En 1.7, pour le fichier class_index.phclass_index.phpp c'est dans /var/cache/dev/class_index.php et /var/cache/prod/ class_index.php Link to comment Share on other sites More sharing options...
prudenziani Posted April 2, 2021 Author Share Posted April 2, 2021 (edited) 22 minutes ago, Eolia said: Vous devriez avoir quelque chose comme ça: Si ce n'est pas le cas il va falloir récupérer les fichiers coeur de votre version depuis le zip de Prestashop Edited April 2, 2021 by prudenziani (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted April 2, 2021 Share Posted April 2, 2021 supprimez ce fichier. La version de votre shop est dans la base de données, table ps_configuration, champ PS_INSTALL_VERSION et PS_VERSION_DB Link to comment Share on other sites More sharing options...
prudenziani Posted April 2, 2021 Author Share Posted April 2, 2021 voila le dossier cache de la meme version de prestashop 1.7.6.9 a eté mis mais aucun changement quand je reload la page de mon site web Link to comment Share on other sites More sharing options...
Eolia Posted April 2, 2021 Share Posted April 2, 2021 il comporte bien le fichier Cache.php à l'intérieur ? Les 2 fichiers class_index.php ont bien été supprimés ? Link to comment Share on other sites More sharing options...
prudenziani Posted April 2, 2021 Author Share Posted April 2, 2021 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 41 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 44 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 41 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 44 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 41 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 44 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 41 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 44 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 41 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 44 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 41 Notice: Trying to get property 'id_customer' of non-object in /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php on line 44 Warning: Cannot modify header information - headers already sent by (output started at /home/mpsanitb/public_html/modules/checkvat/CheckVatTaxManager.php:41) in /home/mpsanitb/public_html/modules/pagecache/pagecache.php on line 1676 Warning: include(/home/mpsanitb/public_html/vendor/composer/../doctrine/cache/lib/Doctrine/Common/Cache/ArrayCache.php): failed to open stream: No such file or directory in /home/mpsanitb/public_html/vendor/composer/ClassLoader.php on line 444 Warning: include(): Failed opening '/home/mpsanitb/public_html/vendor/composer/../doctrine/cache/lib/Doctrine/Common/Cache/ArrayCache.php' for inclusion (include_path='/home/mpsanitb/public_html/vendor/pear/pear_exception:/home/mpsanitb/public_html/vendor/pear/console_getopt:/home/mpsanitb/public_html/vendor/pear/pear-core-minimal/src:/home/mpsanitb/public_html/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/mpsanitb/public_html/vendor/composer/ClassLoader.php on line 444 Fatal error: Uncaught Error: Class 'Doctrine\Common\Cache\ArrayCache' not found in /home/mpsanitb/public_html/src/Adapter/ContainerBuilder.php:194 Stack trace: #0 /home/mpsanitb/public_html/src/Adapter/ContainerBuilder.php(123): PrestaShop\PrestaShop\Adapter\ContainerBuilder->loadDoctrineAnnotationMetadata() #1 /home/mpsanitb/public_html/src/Adapter/ContainerBuilder.php(93): PrestaShop\PrestaShop\Adapter\ContainerBuilder->buildContainer('front') #2 /home/mpsanitb/public_html/classes/controller/FrontController.php(1968): PrestaShop\PrestaShop\Adapter\ContainerBuilder::getContainer('front', true) #3 /home/mpsanitb/public_html/classes/controller/Controller.php(184): FrontControllerCore->buildContainer() #4 /home/mpsanitb/public_html/classes/controller/FrontController.php(271): ControllerCore->init() #5 /home/mpsanitb/public_html/classes/controller/Controller.php(273): FrontControllerCore->init() #6 /home/mpsanitb/public_html/classes/Dispatcher.php(515): ControllerCore->run() #7 /home/mpsanitb/public_html/index.php(28): Dispa in /home/mpsanitb/public_html/src/Adapter/ContainerBuilder.php on line 194 Link to comment Share on other sites More sharing options...
prudenziani Posted April 2, 2021 Author Share Posted April 2, 2021 FatalErrorException Compile Error: Symfony\Component\Debug\DebugClassLoader::loadClass(): Failed opening required '/home/mpsanitb/public_html/vendor/composer/../doctrine/cache/lib/Doctrine/Common/Cache/Cache.php' (include_path='/home/mpsanitb/public_html/vendor/pear/pear_exception:/home/mpsanitb/public_html/vendor/pear/console_getopt:/home/mpsanitb/public_html/vendor/pear/pear-core-minimal/src:/home/mpsanitb/public_html/vendor/pear/archive_tar:.:/opt/cpanel/ea-php72/root/usr/share/pear') Link to comment Share on other sites More sharing options...
Nickovitshj Posted November 3, 2021 Share Posted November 3, 2021 I've got the same issue with the checkvatmanager.php file. Any solution? Link to comment Share on other sites More sharing options...
Mediacom87 Posted November 3, 2021 Share Posted November 3, 2021 Il y a 2 heures, Nickovitshj a dit : I've got the same issue with the checkvatmanager.php file. Any solution? Link to comment Share on other sites More sharing options...
Nickovitshj Posted November 4, 2021 Share Posted November 4, 2021 Excusez-moi, c'est une habitude 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