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

Error Undefined index: y #15

Open
dogecloudmining opened this issue Aug 31, 2020 · 1 comment
Open

Error Undefined index: y #15

dogecloudmining opened this issue Aug 31, 2020 · 1 comment

Comments

@dogecloudmining
Copy link

[31-Aug-2020 12:18:31 UTC] PHP Notice: Undefined index: y in /home/xxxx/public_html/libs/whoissrc/whois.parser.php on line 879
[31-Aug-2020 12:18:31 UTC] PHP Notice: Undefined index: y in /home/xxxx/public_html/libs/whoissrc/whois.parser.php on line 880

the error around here

if ($res['m'] > 12)
	{
	$v = $res['m'];
	$res['m'] = $res['d'];
	$res['d'] = $v;
	}

if ($res['y'] < 70)
	$res['y'] += 2000;
else
	if ($res['y'] <= 99)
		$res['y'] += 1900;

I'm using php 7.4, can someone help me to fix this?

@sparc
Copy link
Owner

sparc commented Feb 22, 2022

Please include the domain name that causes the error

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

2 participants