SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 10 (SQL: insert ignore into `modules` (`created_at`, `icon`, `name`, `position`) code example

Example: Insert value list does not match column list: 1136 Column count doesn't match value count at row 2"

In your database table not null columns created are less than the values that
you are passing in the insert query

Example : Assume Your database table has 35 columns
Then,
Where as the values you are passing are 34 columns

This mismatch of columns is giving you the error.
You must have forgot to pass the value for not null column. once you pass 
it error will be resolved

Tags:

Sql Example