Illegal string offset 'handler' in PHP -
this question has answer here:
- reference - error mean in php? 29 answers
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
Post a Comment