Index: typo3/sysext/cms/tslib/class.tslib_fe.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_fe.php (revision 3521) +++ typo3/sysext/cms/tslib/class.tslib_fe.php (working copy) @@ -4205,6 +4205,11 @@ */ function getStorageSiterootPids() { $res=array(); + + if(!is_array($this->rootLine)) { + return array(); + } + reset($this->rootLine); while(list(,$rC)=each($this->rootLine)) { if (!$res['_STORAGE_PID']) $res['_STORAGE_PID']=intval($rC['storage_pid']);