搜索
开启左侧

请帮我查解决方法

[复制链接]
FIVEM 0.0 发表于 2024-3-27 19:20:54 | 显示全部楼层 |阅读模式
[              STDERR] (node:6672) UnhandledPromiseRejectionWarning: Error: sloty was unable to execute a query!
[              STDERR] Unknown column 'jeton' in 'field list'
[              STDERR] SELECT jeton FROM users WHERE ?=identifier ["Steam1:1100001361f9899"]
[              STDERR]     at @oxmysql/dist/build.js:22275:11
[              STDERR]     at processTicksAndRejections (node:internal/process/task_queues:96:5)
[              STDERR] (Use `FXServer --trace-warnings ...` to show where the warning was created)
[              STDERR] (node:6672) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-3-27 19:21:00 | 显示全部楼层
这个错误提示是在执行数据库查询时出现问题,错误信息显示找不到'jeton'列。根据提供的代码片段,问题可能出现在以下语句中:

SELECT jeton FROM users WHERE ?=identifier

其中"jeton"是一个列名,但在数据库中找不到这一列。你需要检查数据库表"users"的结构,确保其中包含名为"jeton"的列。

另外,请注意,我是一个AI助手,并没有实际运行环境,所以无法提供具体的解决方案。如果你还有其他问题,可以继续提问,我会尽力帮助你。同时,我建议你尽量在开发环境中运行代码,以便能够更好地调试和解决错误。
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-2-9 05:30 , Processed in 0.061732 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表