I got error from my Apache log:
php warning: illegal string offset ‘name’ in GetUrl.php on line 855
Here is the page code:
function find_header_by_name($header_name) {
    if (!$this - > headers_received) {
        $this - > GetUri - > errors[] = “Error looking up header: headers have not been received yet”;
        return false;
    }
    $Response = false;
    foreach($this - > headers as $header) {
        if (!strcasecmp($header[‘name’], $header_name))
            $Response[] = $header[‘value’];
    }
    return $Response;
}
The error code is this part:
foreach($this - > headers as $header) {
    if (!strcasecmp($header[‘name’], $header_name))
        $Response[] = $header[‘value’];
}
return $Response;
How to fix it? I can’t find it, please help
 
     
    