silverstripe - 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)
有谁知道为什么会发生这种情况或我能做些什么来解决它?
解决方案
推荐阅读
- r - 用R中的外生变量预测VAR模型
- python - 为什么我的代码没有添加它给出的列表,即使它被告知这样做?
- java - 我正在使用 MediaStore.Video 在手机上获取视频,但它只显示 3gp 和 MP4 视频
- php - 如果从数据库中删除,Laravel 中的排队作业是否会停止?
- python - 'dict' 对象没有这样的归因错误 - 基本 python
- root - 如何将 p4v 工作区根更改为父文件夹?
- javascript - 运行 npm start 时出现 Webpack css loader 错误
- azure-active-directory - MS Azure AD OWIN 在短时间内重新进行身份验证
- rest - Salesforce Rest API - Upsert 数组记录
- php - 将导入的带有矩阵表的 Excel 转置到 Laravel