For the blade template, I added the following code and skipped this error

 @if(count($errors)>0)

    @foreach($errors->all()as $error)

        {{$error}}

    @endforeach

@endif

ErrorException Undefined offset: 1

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.