[Solved] laravel Frame Error: Call to undefined method Dotenv\\Validator::make()”

Validator:: make() is used in the controller, which defaults to use dotenv\validator

Solution:

hold

use Dotenv\Validator;

Change to

use Illuminate\Support\Facades\Validator;

Similar Posts: