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:
- [Solved] Call to undefined method Illuminate\\Support\\Facades\\Request::input()”
- [How to Solve] Laravel Ajax request error: 419 unknown status
- When deploying Django project on centos7, there will be an error of importerror: cannot import name middlewaremin
- [Three Method] Multiple actions were found that match the request in Web Api
- iOS Presenting view controllers on detached view controllers is discouraged
- Block Wild Pointer crash: Thread 1:EXC_BAD_ACCESS(code=1,address=0x10)
- [Solved] Controller Error: Error:-81024 LR_VUG:The ‘QTWeb’ type is not supported on win32 platforms
- The solution to the problem of “host SMBus controller not enabled” when Linux starts in VMWare
- org.springframework.core.log.LogMessage [How to Solve]