The reason this is happening now, however, is that Laravel 5.1 uses strict mode for MySQL by default...
Check this public function __construct() { $this->middleware(function ($request, $next) {...
The Laravel portal for problem solving, knowledge sharing and community building.
The community