Comments (2)
这是一个数据库错误吧,info这个列数据过长,你尝试一下改成text类型试试?
from framework.
看错误提示,应该不是A方法返回值问题,或者不是直接的原因。
可以捕抓 \think\db\exception\DbException
异常,里面的信息应该足够齐全了。
try {
// 业务代码
} catch (\think\db\exception\DbException $e) {
// 打印数据库异常信息(错误代码、错误消息和SQL语句)
dump($e->getData()['Database Status']);
// 打印异常 Trace
dump($e->getTrace());
}
from framework.
Related Issues (20)
- cache组件并发下,如果不设置模型字段缓存,会经常把报错 HOT 1
- 关于trace调试窗口的疑问 HOT 2
- 关于安卓13+Termux环境部署上的一些小问题 HOT 1
- 請問為何我使用Termux 卻帶不出手機裡已安裝的app list?
- composer安装不了thinkphp8 HOT 1
- TP8不支持 form-data 格式的请求数据吗?只支持 x-www-form-urlencoded ? HOT 3
- 使用 Predis 时模型 save 方法报错 ERR wrong number of arguments for 'del' command HOT 7
- 8.0.3 路由跨域设置 不生效
- StyleCi 规则草案讨论
- The memory overflow problem exists in the framework of versions later than 8.0.0 HOT 5
- Reflected XSS(Cross Site Scripting) HOT 1
- 框架加载配置文件期间的异常无法捕获
- 编辑器提示存在漏洞 HOT 1
- Log::getLog()获取不到日志内容 HOT 1
- composer安装thinkphp8安装失败 HOT 3
- cache 使用redis,并使用getex指令,无法获取前缀 HOT 1
- tp8的session机制改变了吗? HOT 2
- Validate对于有序数组的校验
- 简单的一个测试就报错?是我小白,还是? HOT 4
- Session的Facade能不能也加上Cookie/Cache@method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.