sparc / phpWhois.org

Original phpWhois soruces
http://www.phpwhois.org
GNU General Public License v2.0
95 stars 43 forks source link

Illegal string offset 'handler' #4

Closed dobaniashish closed 5 years ago

dobaniashish commented 6 years ago

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