注册 登录
n/program · 2024-08-06 · 514 次浏览
u/nglslanyi白银
n/programu/nglslanyi · 2024-08-06

站长你好我在安裝 Lottery插件后前端空白

站长你好我在安裝 Lottery插件后前端空白报错
`mount-redraw.js:15

TypeError: Cannot read properties of undefined (reading 'type')
at e.pushObject (Store.ts:125:27)
at e.pushPayload (Store.ts:103:110)
at e.preloadedApiDocument (Application.tsx:363:22)
at n.oninit (TagsPage.js:23:27)
at Function.a (render.js:30:16)
at M (render.js:917:53)
at render.js:153:3
at render.js:160:3
at c (render.js:66:8)
at l (render.js:50:5)
a @ mount-redraw.js:15`
money 和money histroy都安装了还是无法使用

0
10
登录后参与讨论。

10 条回复

排序
  1. nglslanyi 白银 楼主 2024-08-06 #2
    0
  2. James 💯 传奇 MANAGER 2024-08-07 #3

    看看后台日志有没有报错。

    0
  3. nglslanyi 白银 楼主 2024-08-07 #4

    @"James"#p62692 好的我看一下

    0
  4. nglslanyi 白银 楼主 2024-08-07 #5

    @"James"#p62692 我开启了debug但他并没有任何的报错只有前端的那一段错误代码

    0
  5. nglslanyi 白银 楼主 2024-08-07 #6

    @"James"#p62692 </s>Next Illuminate\Database\QueryException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'flarum_lotteries.post_id' in 'where clause' (SQL: select * from<e>flarum_lotteries</s>where<e>flarum_lotteries</s>.<e>post_id </s>in (542, 544, 546, 560, 574, 577, 618)) in /opt/flarum/vendor/illuminate/database/Connection.php:712<br/> Stack trace:<e>

    0
  6. nglslanyi 白银 楼主 2024-08-07 #7

    @"蓝熠"#p62700 </s>[2024-08-06 04:25:14] flarum.ERROR: ReflectionException: Class "nodeloc-user-bio.formatter" does not exist in /opt/flarum/vendor/illuminate/container/Container.php:877<br/> Stack trace:<e>

    0
  7. James 💯 传奇 MANAGER 2024-08-07 #8

    @"蓝熠"#p62705 少了字段 应该是数据库脚本少了

    0
  8. nglslanyi 白银 楼主 2024-08-07 #9

    @"James"#p62716 请问如何解决

    0
  9. nglslanyi 白银 楼主 2024-08-07 #10

    @"James"#p62716 我添加lpost id字段已解决

    0
  10. nglslanyi 白银 楼主 2024-08-07 #11

    谢谢您

    0