Index: Classes/ViewHelpers/CObjectViewHelper.php =================================================================== --- Classes/ViewHelpers/CObjectViewHelper.php (revision 2283) +++ Classes/ViewHelpers/CObjectViewHelper.php (working copy) @@ -46,6 +46,14 @@ $this->typoScriptSetup = $typoScriptSetup; } else { $configurationManager = Tx_Extbase_Dispatcher::getConfigurationManager(); + + if ($configurationManager === NULL) { + $configurationManager = t3lib_div::makeInstance('Tx_Extbase_Configuration_FrontendConfigurationManager'); + + // Initializes local cObj + $localCObj = t3lib_div::makeInstance('tslib_cObj'); + $configurationManager->setContentObject($localCObj); + } $this->typoScriptSetup = $configurationManager->loadTypoScriptSetup(); } if (TYPO3_MODE === 'BE') {