jmurrayhead
Well-known member
As the subject suggests, I get this error:
XF\Db\Exception: MySQL query error [1366]: Incorrect integer value: '' for column 'addon_column' at row 1 in src\XF\Db\AbstractStatement.php at line 183
This is an int field, signed (because negative values), with a default of 0. What I've researched suggests turning off STRICT mode, but is that really the right way to go? Surely we can't expect everyone to be able to change this setting, particularly in hosted environments.
Thanks
XF\Db\Exception: MySQL query error [1366]: Incorrect integer value: '' for column 'addon_column' at row 1 in src\XF\Db\AbstractStatement.php at line 183
This is an int field, signed (because negative values), with a default of 0. What I've researched suggests turning off STRICT mode, but is that really the right way to go? Surely we can't expect everyone to be able to change this setting, particularly in hosted environments.
Thanks