sparc / phpWhois.org

Original phpWhois soruces

Home Page:http://www.phpwhois.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Illegal string offset 'handler'

dobaniashish opened this issue · comments

Hello,

I am getting the following error when I lookup for google.com:

Illegal string offset 'handler'

Code:

$result = $whois->Lookup('google.com');

Backtrace:

A PHP Error was encountered

Severity: Warning

Message: Illegal string offset 'handler'

Filename: src/whois.gtld.php

Line Number: 57

Backtrace:

File: /application/third_party/phpWhois.org/src/whois.gtld.php
Line: 57
Function: _error_handler

File: /application/third_party/phpWhois.org/src/whois.client.php
Line: 469
Function: parse

File: /application/third_party/phpWhois.org/src/whois.client.php
Line: 254
Function: Process

File: /application/third_party/phpWhois.org/src/whois.main.php
Line: 259
Function: GetData

File: /application/libraries/Stats.php
Line: 1290
Function: Lookup

PHP Version: 7.0.22