You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.
[InvalidArgumentException] There was a problem creating the schema table: SQLSTATE[42000]: Syntax erro r or access violation: 1067 Invalid default value for 'end_time'
[InvalidArgumentException] There was a problem creating the schema table: SQLSTATE[42000]: Syntax erro r or access violation: 1067 Invalid default value for 'end_time'
xampp可以通过修改my.ini:
my.ini 接下來搜尋 sql_mode,將原本的 sql_mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,NO_ENGINE_SUBSTITUTION 修改成 sql_mode= 然後重啟即可解決~
对于php7.4仍有以下提示:
[think\exception\ErrorException] Trying to access array offset on value of type null
估计是:
有个地方在访问数组元素,而数组本身却是null。在Php这种弱类型语言中这种语法一般是支持的,它会整体返回null,而在新版的Php7.4中这个语法却会报告为错误。
不知道如何修改
The text was updated successfully, but these errors were encountered: