首页 > 解决方案 > Silverstripe 4:将提交的表单用作托管模型

问题描述

我正在尝试SilverStripe\UserForms\Model\Submission\SubmittedForm在我的 silverstripe 4 管理员中将该类用作托管模型。

我正在将我的站点从 ss3 升级到 ss4,并且在尝试将此类用作托管模型时遇到问题。出现“提交的表单”选项卡,但是当我单击以更改为选项卡时,出现以下错误:

error-log.ERROR: Uncaught Exception Error: "Call to a member function canCreate() on null" at /var/www/html/vendor/silverstripe/userforms/code/Model/Submission/SubmittedForm.php:133)

有谁知道为什么会发生这种情况或我能做些什么来解决它?

标签: silverstripesilverstripe-4

解决方案


推荐阅读