Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't call method "answer" on an undefined value #22

Closed
MarrsAttax opened this issue Jan 25, 2016 · 2 comments
Closed

Can't call method "answer" on an undefined value #22

MarrsAttax opened this issue Jan 25, 2016 · 2 comments

Comments

@MarrsAttax
Copy link

Occasionally the code crashes with error: Can't call method "answer" on an undefined value at /usr/local/lib64/perl5/5.20.2/Email/Valid.pm line 153.

The code needs to check if $resolver->search returns undef (as it would if no answers were found) before it attempts to call the "answer" method and handle this gracefully.

@boysenberrypayne
Copy link

This has been effecting our production server as well. Is there an eta on getting this pushed out?
I am thinking one answer is to remove the Net::DNS::Resolver dependancy and use the nslookup fallback until this is fixed.

@rjbs
Copy link
Collaborator

rjbs commented Mar 27, 2016

I believe this is fixed in today's release.

@rjbs rjbs closed this as completed Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants