昨天我们将托管版本从PHP 7.0更改为7.3,之后我们的网站www.bofast.cz停止运行,并且出现了一些错误。我们回到了7.0版,但没有帮助。这是我们得到的错误:
(1/1) ClassNotFoundException
Attempted to load class "Repository" from namespace "PrestaShop\PrestaShop\Core\Cldr".
Did you forget a "use" statement for e.g. "PrestaShop\PrestaShop\Core\Cldr\Repository", "PrestaShop\PrestaShop\Core\Localization\Currency\Repository" or "PrestaShop\PrestaShop\Core\Localization\Locale\Repository"?
in Tools.php line 724
at ToolsCore::getCldr(object(Context))
in Currency.php line 101
at CurrencyCore->__construct('1')
in Currency.php line 614
at CurrencyCore::getCurrencyInstance('1')
in Tools.php line 685
at ToolsCore::setCurrency(object(Cookie))
in FrontController.php line 350
at FrontControllerCore->init()
in Controller.php line 262
at ControllerCore->run()
in Dispatcher.php line 511
at DispatcherCore->dispatch()
in index.php line 28
答案 0 :(得分:0)
还原后是否从“高级首选项”->“性能”选项卡中清除了所有Prestashop缓存?如果没有,请执行此操作。 或者,删除var / cache目录,然后让PS重新创建它。