Index: t3lib/class.t3lib_div.php =================================================================== --- t3lib/class.t3lib_div.php (revision 3117) +++ t3lib/class.t3lib_div.php (working copy) @@ -3712,6 +3727,9 @@ // Read and parse XML content: $local_xmlString = t3lib_div::getUrl($localized_file); $local_xmlContent = t3lib_div::xml2array($local_xmlString); + if (!is_array($local_xmlContent)) { + die($localized_file.' was not XML!: '.$local_xmlContent); + } $LOCAL_LANG[$langKey] = is_array($local_xmlContent['data'][$langKey]) ? $local_xmlContent['data'][$langKey] : array(); // Checking if charset should be converted.