php - 哪个方法/类抛出此错误消息?
问题描述
当我尝试访问为 TYPO3 v9.5.9 制作的扩展程序的后端时,我收到以下错误消息:
为了解决这个问题,我想找出哪个类/方法抛出了这个错误消息。有谁知道我怎么能找到它?
我的 composer.json 文件如下所示:
{
"name": "secsign/secsign",
"type": "typo3-cms-extension",
"description": "This extension allows users to authenticate using their smart phone running the SecSign App.",
"authors": [
{
"name": "SecSign Technologies Inc.",
"role": "Developer"
}
],
"require": {
"typo3/cms-core": "^9.5"
},
"autoload": {
"psr-4": {
"Secsign\\Secsign\\": "Classes"
}
},
"autoload-dev": {
"psr-4": {
"Secsign\\Secsign\\Tests\\": "Tests"
}
},
"replace": {
"secsign/secsign": "self.version",
"typo3-ter/secsign": "self.version"
}
}
解决方案
确保您在 composer.json 中添加了类似的内容(当文件来自自定义 ext,而不是第 3 方时)
{
// ...
"autoload": {
"psr-4": {
"Secsign\\Secsign\\": "web/typo3conf/ext/SECSIGNEXT/Classes/",
}
}
// ...
}
推荐阅读
- docker - Docker:如何在代码更改时更新容器
- java - 运行带有多个 Erlang 进程的 Java XML 解析器
- javascript - webRTC - 视频导致互联网上的呼叫顶部掉线
- apache-kafka - 持久性密钥存储不起作用 kafka 流 2.20
- python - 不同api输入参数的函数调用每次都返回相同的输出,Flask api
- r - 将表从 oracle 导入到 R 时,如何不要舍入我的 keyid
- vue.js - vue.js - 传递选定的选项字符串数据
到 - c# - 从本地映射的工作区文件路径中查找 TFS 服务器文件路径
- javascript - 如何不丢失从父组件到子组件的状态
- php - 使用 Crinsane Laravel 下订单后将购物车产品插入数据库