Skip to content

Error Undefined index: y #15

@dogecloudmining

Description

@dogecloudmining

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions