nafiesl / silsilah

A genealogy/family tree application, built with Laravel.
MIT License
588 stars 284 forks source link

Error exception upon attempting to register a new user. #43

Closed akhan85 closed 4 years ago

akhan85 commented 4 years ago

When trying to register a new user, I receive an Error Exception as such: 'Trying to access array offset on value of type null'

The issue appears to originate from line 147 in the /vendor/egulias/email-validator/EmailValidato/Parser/Parser.php file

image

Any help in this regard would be greatly appreciated. Thank you for your contribution!

nafiesl commented 4 years ago

Hi @akhan85, thanks a lot for the report. I will look into it. Sorry for my late response.

akhan85 commented 4 years ago

Hi @nafiesl, thank you for looking into it. And no need to apologize. I appreciate the fact that you're sharing your knowledge and taking the time to address issues.

nafiesl commented 4 years ago

@akhan85, I found that this issue happens only on php 7.4, but not occurs on php 7.2 (in my localhost). I see the same issue here https://github.com/laravel/framework/issues/30737#issuecomment-579277858.

This issue should resolve on this commit fed1e23. You need to pull the latest master, and run composer install.

git checkout master
git pull origin master
composer install

Please let me know if our issue has been resolved @akhan85.

akhan85 commented 4 years ago

@nafiesl, worked like a charm! Thank you for the speedy turnaround.

nafiesl commented 4 years ago

Great @akhan85, I am closing this issue. Thanks.

akhan85 commented 4 years ago

Thank you so much! I just have one more question and I don't want to open up an issue for it but I was wonder if there was a way to recover a password from the database for an account created without using the forgot password feature. Currently I run into an error if i attempt to do that probably because I am running a local DB instance on my laptop and haven't hosted the application anywhere.

Thank you!

On Tue, Feb 25, 2020 at 8:49 AM Nafies Luthfi notifications@github.com wrote:

Great @akhan85 https://github.com/akhan85, I am closing this issue. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nafiesl/silsilah/issues/43?email_source=notifications&email_token=ACEKZBVQIOHCHMYIUC26MJDREUOYFA5CNFSM4KWUU2V2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM4A3CY#issuecomment-590876043, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEKZBU7VCI2P5DHDTLORM3REUOYFANCNFSM4KWUU2VQ .

nafiesl commented 4 years ago

Hi @akhan85, I am not clear enough about your new issue. I think you can create a new issue if you found a different error.

It would be best if you can describe steps to reproduce it and attach some screenshot just like you did in this issue. Then we can investigate it together.