[TYPO3-english] fatal error when using t3lib_utility_Debug::debug()

Federico Bernardin typo3list at bernardin.it
Fri Jun 7 14:45:37 CEST 2013


Hi Muriel,
Your error is related to namespace.

Use \TYPO3\CMS\Core\Utility\DebugUtility::debug(xxx). In this way PHP search the correct namespace, otherwise it search inside the current namespace (I guess 'SF\SfCases\Controller\).

Cheers
Federico

Il giorno 07/giu/2013, alle ore 14:31, Muriel le Pair <typo3 at strangefruit.nl> ha scritto:

> Hi,
> 
> I'm trying to migrate an old extension by rebuilding it with the extbase extension builder. But I'm lost nothing seems to work anymore like I'm just to.
> 
> first line of the class:
> class CasesController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
> 
> But when I try to use the debugger or any other function I get a fatal error:
> 
> Fatal error: Class 'SF\SfCases\Controller\t3lib_utility_Debug
> 
> What am I missing?
> 
> --
> kind regards,
> 
> Muriel le Pair
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list