Sometime, 'flash.old' is not a array so, the array_diff() throw a exception. Refer to this commit https://github.com/laravel/framework/commit/96674539a24c3d2d038f9f48ed440668098aef32 Here the stacktrace :