BadMethodCallException

This eror means that you have a bad spelling in your variables that is all.

For example, i had this in my code:

        request()->validate([
            //'title'=> ['required','min:3','max:255'],
            'title'=>'required',
            'excerpt'=>'required',
            'body'=>'requied'
        ]);

 

NOTICE the body element value is requied, but it should be required.
 
This is the full error I got and after I changed  requied to required, it worked.
 
 
Method Illuminate\Validation\Validator::validateRequied does not exist.
Bad Method Call
Did you mean Illuminate\Validation\Validator::validateRequired() ?
 
hope that help solve the answered.