application/config/doctrine/proxies\__CG__ConcreteCoreEntitySiteType.php): 无法打开流:没有那个文件或目录,具体 5

application/config/doctrine/proxies\__CG__ConcreteCoreEntitySiteType.php): failed to open stream: No such file or directory, concrete5

在本地安装concrete5-8.3.1时,安装后出现如下错误信息:

require(C:/xampp/htdocs/testconcrete5-8.3/application/config/doctrine/proxies__CG__ConcreteCoreEntitySiteType.php): failed to open stream: No such file or directory

如何解决这个问题?

我不熟悉 Concrete,但如果您有 Symfony 控制台或可以执行命令的东西,我会尝试以下操作:

doctrine:cache:clear-metadata                               
doctrine:cache:clear-query                                  
doctrine:cache:clear-result                                 

Note: I don't know if the commands above are available as part of Concrete I am talking from the Symfony side where when I have such issues that is how I fixed

最后但同样重要的是,我会尝试 dump 类 使用作曲家:

composer dump-autoload --optimize 

转到 /dashboard/system/environment/entities 并单击红色的 "refresh entities" 按钮。那应该可以解决您的问题