解决TP5.1出现A non well formed numeric value encountered的问题

 217已收录

下面给大家介绍解决TP5.1出现A non well formed numeric value encountered的问题,希望对需要的朋友有所帮助!


解决TP5.1出现A non well formed numeric value encountered的问题

TP5.1出现A non well formed numeric value encountered问题

问题介绍

A non well formed numeric value encountered

出现这样的问题是tp5.1自动转化时间格式失败出现的问题

比如在数据库里面的字段是varchar格式的,在tp5.1里代码又是写的该字段是自动转化时间戳格式的,就会出错

问题解决

在数据库中使用时间类的字段,或者使用int类型,或者不使用tp5.1的自动转化



TAG标签: thinkphp
本文网址:https://www.3ka.cn/server-205.html
转载请声明来自:汇云资源网 - 解决TP5.1出现A non well formed numeric value encountered的问题

评论(0)条

您还没有登录,请 登录 后发表评论!

提示:请勿发布广告垃圾评论,否则封号处理!!

    猜你喜欢