Internal server error when accessing $_SERVER['HTTP_ACCEPT_LANGUAGE']

I have problems when I try to access $_SERVER[‘HTTP_ACCEPT_LANGUAGE’] in the init() method of Controller.php. It’s funny, because the website loads correctly but when I analyze it in the w3c validator returns the internal server error. I don’t know what’s happening.