Error “Trying to access array offset on value of type null” laravel 5.8.26 Php 7.4.2

前端 未结 4 400
轮回少年
轮回少年 2021-01-13 01:23

I use below function for insert/create new user from admin panel:

public function store(Request $request)
{
    $this->validate($request, [
        \'name         


        
4条回答
  •  伪装坚强ぢ
    2021-01-13 01:53

    I was facing the same problem, after debugging I found my smtp credentials was not working properly, email sending modules was not working that why I was getting this error, after fixing the credentials my code starts working properly and exception get disappear.

    I suggest you to check your smtp credentials and make your you turn on less secure app setting.

提交回复
热议问题