Fields that are not null without a default value are required in an insert statement.
You have three choices :
1.Define a default value
2.Change the column definition to allow null
3.Add that column to the insert statement
But the error is caused based on the version PHP version 7..