Error: SQLSTATE[HY000]: General error: 1364 Field ‘xyz’ doesn’t have a default value
By default, MySQL is enabled with strict_mode ON, which will most likely cause problems with older PHP applications written for MySQL 4. For example, strict mode will return an error on insert statements if an empty string is provided where an integer is expected. You may disable strict mode in one of two ways: Open […]