Index: typo3/sysext/lang/lang.php =================================================================== --- typo3/sysext/lang/lang.php (revision 9878) +++ typo3/sysext/lang/lang.php (working copy) @@ -453,7 +453,7 @@ // Get default file $llang = $this->readLLfile($fileRef); - if (count($llang)) { + if (is_array($llang) && count($llang)) { $LOCAL_LANG = t3lib_div::array_merge_recursive_overrule((array)$LOCAL_LANG, $llang);