Laravel : Syntax error or access violation: 1055 Error

\DB::statement("SET SQL_MODE=''");//this is the trick use it just before your query

or

In config\database.php --> "mysql" array

Set 'strict' => false to disable all.

Link

You cannot comment on this entry