Question: New User Creation Error 500

New User Creation Error 500

[2021-04-19 19:20:49] production.ERROR: Class 'App\Mail\UserPasswoedReset' not found {"userId":1,"exception":"[object] (Error(code: 0): Class 'App\\Mail\\UserPasswoedReset' not found at /var

FN

Faisal Nadeem

Asked
[2021-04-19 19:20:49] production.ERROR: Class 'App\Mail\UserPasswoedReset' not found {"userId":1,"exception":"[object] (Error(code: 0): Class 'App\\Mail\\UserPasswoedReset' not found at /var/www/html/crm/app/Http/Controllers/UsersController.php:134) and also it created the user but password is in text which is stored in mysql also not letting me login to new account please help thank
  • FN

    Faisal Nadeem

    Answered
    also getting this error now
    [2021-04-19 19:52:15] production.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'password' cannot be null (SQL: update `tec_users` set `phone` = 123465789, `password` = ?, `tec_users`.`updated_at` = 2021-04-19 19:52:15 where `id` = 2) {"userId":1,"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'password' cannot be null (SQL: update `tec_users` set `phone` = 123465789, `password` = ?, `tec_users`.`updated_at` = 2021-04-19 19:52:15 where `id` = 2) at /var/www/html/crm/vendor/laravel/framework/src/Illuminate/Database/Connection.php:671)
  • MS

    Mian Saleem

    Answered
    Hello,

    You can check the file `app/Mail/UserPasswordReset.php` If missing, you can upload it again.

    Password is hashed then stored to database. It's not plain text.

    Have you updated the email settings? I will check this in details later.

    Thank you
  • FN

    Faisal Nadeem

    Answered
    /app/Http/Controllers/UsersController.php:134 wrong file name App\Mail\UserPasswo'e'dReset it should be r not e
  • FN

    Faisal Nadeem

    Answered
    also /js/manifest.js is giving 404 error
  • MS

    Mian Saleem

    Answered
    Hello,

    My bad, I will fix the typo soon. There is no such `/js/manifest.js` I will check and remove this too.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    I have updated the file with fix.

    Thank you
  • Login to Reply