AndrewSimm
Well-known member
I get this error when saving to a database
I am not saving anything to roster_number, as it's not used in the form I am using. Do I have to assign a value to each field?
PHP:
XF\Db\Exception: MySQL query error [1366]: Incorrect integer value: '' for column 'roster_number' at row 1 in src/XF/Db/AbstractStatement.php at line 212
I am not saving anything to roster_number, as it's not used in the form I am using. Do I have to assign a value to each field?