Illegal string offset 'handler' in PHP -


this question has answer here:

please how can correct error:

warning: illegal string offset 'handler' in /home/***************/public_html/whois/phpwhois/whois.gtld.php on line 95 

on following code:

function parse($data, $query) { $this->query = array(); $this->subversion = sprintf("%s-%s", $query["handler"], $this->handler_version); $this->result = generic_parser_b($data["rawdata"], $this->reg_fields, 'dmy'); 

please check if $query string if code not work. make sure pass $enquiry array or fire exception.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -