Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Hi,
I install new version and get this error. How to fix it?
Thanks.
PDOException Object
(
[message:protected] => SQLSTATE[HY000]: General error: 1364 Field 'last_accepted' doesn't have a default value
[string:Exception:private] =>
[code:protected] => HY000
[file:protected] => Patth\modules\lhinstall\install.php
[line:protected] => 912
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => Patth\modules\lhinstall\install.php
[line] => 912
[function] => query
[class] => PDO
[type] => ->
[args] => Array
(
[0] => INSERT INTO `lh_userdep` (`user_id`,`dep_id`,`last_activity`,`hide_online`) VALUES (1,0,0,0)
)
)
[1] => Array
(
[file] => Patth\lib\core\lhcore\lhmodule.php
[line] => 93
[args] => Array
(
[0] => Patth\modules\lhinstall\install.php
)
[function] => include
)
[2] => Array
(
[file] => Patth\lib\core\lhcore\lhmodule.php
[line] => 407
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[3] => Array
(
[file] => Patth\index.php
[line] => 27
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
[errorInfo] => Array
(
[0] => HY000
[1] => 1364
[2] => Field 'last_accepted' doesn't have a default value
)
)
Offline
Just a minit i check
Offline
Hi,
Just redownload from github and try again.
Offline
Here is related commit for reference
https://github.com/LiveHelperChat/livehelperchat/commit/a97b3595c8dd5f9bbe563df4850f74d8122df240
Offline