PrestaShop - 更改我们托管的 PHP 版本后获得错误 (PS 1.7.5.)

问题描述 投票:0回答:1

我们改变了托管版本从 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
prestashop
1个回答
0
投票

你是否清除所有的Prestashop缓存从高级首选项-gt; 性能标签后恢复?如果没有,请这样做.或者,删除varcache目录,让PS重新创建它。

© www.soinside.com 2019 - 2024. All rights reserved.