When i try to register a new user, getting "undefined array key 1"

  Mon 17 / 07 / 2023

  Posted by: tajbin anik

Category : Laravel

Tags : laravel , php laravel

Post Thumbnail
Description

Sir When I try to register a new user, getting "undefined array key 1" This error, please 🥺

solve my problem.


  Answered by CDL

You are getting error on the register controller, and the image you attached is about middleware which not relevant. Open your registerController and visit the create method which is storing the data.


undefine mean, you are not passing value of one column which is required. pass the values properly and it will work.

  Comment   Share
0 Likes   0 Comments