phpWhois.org icon indicating copy to clipboard operation
phpWhois.org copied to clipboard

Error Undefined index: y

Open dogecloudmining opened this issue 5 years ago • 1 comments

[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?

dogecloudmining avatar Aug 31 '20 12:08 dogecloudmining

Please include the domain name that causes the error

sparc avatar Feb 22 '22 07:02 sparc