Thank you for flarum team.
I upgrade my flarum and when I click Like Button, I receive a error
/blog/237-r-34-hou-p…-yin-opjian-fa-bu:1
Uncaught (in promise)
vi {status: 500, options: {…}, xhr: XMLHttpRequest, responseText: '{"errors":[{"status":"500","code":"unknown"}]}', response: {…}, …}
alert:
content: ['糟糕,出错啦!请刷新页面重试。']
controls: false
type: "error"
[[Prototype]]: Object
options: {background: true, method: 'POST', url: 'https://capomod.com/api/posts/1540', body: {…}, deserialize: ƒ, …}
response: {errors: Array(1)}
responseText: "{\"errors\":[{\"status\":\"500\",\"code\":\"unknown\"}]}"
status: 500
xhr: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, abort: ƒ, onreadystatechange: ƒ, …}
[[Prototype]]: Object
Promise.then(异步)
e.save @ Model.ts:235
onclick @ addLikeAction.js:23
O.handleEvent @ render.js:888