首页> 实战笔录 >PHP开发笔记 >ThinkPHP ThinkPHP
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Attr_id' in 'where clause'
作者:小萝卜 2021-05-06 【 TP5 】 浏览 2290
简介TP框架关联模型报错SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Attr_id' in 'where clause'
TP框架关联模型报错
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Attr_id' in 'where clause'
需要去你模型关联的模型,添加一个 Attr_id 字段
很赞哦! (0)
相关文章
- TP6上传图片验证时报错think\\Validate::check() must be of the type array
- phpQuery介绍及简单的使用
- TP6权限管理 Auth库的使用
- TP6/ThinPHP6 获取主键自增ID
- TP6导入、导出Excel教程
- Swoole 结合TP5创建http服务
- TP6 databackup拓展插件,实现数据库备份下载还原代码分享
- tp6表单验证提交之后报错Call to a member function set() on null
- TP6使用redis操作报错Store [redis] not found.
- TP6/ThinkPHP6 多应用模式域名串模块的问题
