Format datetime yang tidak valid: 1366 nilai string yang salah
//I solved it, encoding to uft-8 all string columns that generated this error before insert.
//For example, the column that generated the error was column-name, I encoded as
//show bellow. Also I found other column with the same error, I used this solution, too.
$data [
//key=>values
];
$myModel = new MyModel();
$data['column-name'] = DB::connection()->getPdo()->quote(utf8_encode($data['column-name']));
$myModel->insert($data);
Dentetsu