代码之家  ›  专栏  ›  技术社区  ›  Mohd Hasan

致命错误:未捕获错误:在Prestashop中找不到类“cache”

  •  1
  • Mohd Hasan  · 技术社区  · 6 年前

    我在工作宽度为1.0。当我删除缓存文件夹时,我面临着这个问题,但我已经重新加载了它,但它正在解决。如果有人遇到这样的问题,请建议我如何解决。

    Fatal error: Uncaught Error: Class 'Cache' not found in /customers/a/2/e/sekuurshop.be/httpd.www/classes/ObjectModel.php:1924 Stack trace: #0 /customers/a/2/e/sekuurshop.be/httpd.www/classes/ObjectModel.php(214): ObjectModelCore::getDefinition('Shop') #1 /customers/a/2/e/sekuurshop.be/httpd.www/classes/shop/Shop.php(130): ObjectModelCore->__construct('1', NULL, NULL) #2 /customers/a/2/e/sekuurshop.be/httpd.www/classes/shop/Shop.php(411): ShopCore->__construct('1') #3 /customers/a/2/e/sekuurshop.be/httpd.www/config/config.inc.php(117): ShopCore::initialize() #4 /customers/a/2/e/sekuurshop.be/httpd.www/index.php(27): require('/customers/a/2/...') #5 {main} thrown in /customers/a/2/e/sekuurshop.be/httpd.www/classes/ObjectModel.php on line 1924 
    
    1 回复  |  直到 6 年前
        1
  •  1
  •   Virendra Yaduvanshi    6 年前

    似乎您已延迟了整个缓存文件夹。从本地服务器上载文件夹(如果存在)。因为有时候prestashop不会像其他人一样创建缓存文件夹。

    希望对你有帮助。