[TYPO3-mvc] Using renderFlashMessages leads to fatal error if no BE session active
Dennis Ahrens
dennis.ahrens at googlemail.com
Wed Jan 12 14:27:40 CET 2011
Hi Jochen,
Jochen Rieger wrote:
> Hi all,
>
> if I put the fluid ViewHelper for flash messages into a fluid template
> it leads to a fatal error.
>
> <f:renderFlashMessages /> leads to:
>
> Fatal error: Call to a member function getSessionData() on a non-object
> in
> /var/www/typo3/typo3_src-4.4.5/t3lib/class.t3lib_flashmessagequeue.php
> on line 100
>
> The problem does not occur as soon as I am logged in to the backend and
> $GLOBALS['BE_USER'] exists.
>
> I am using TYOP3 4.4.5 and a trunk version (around beta3) of extbase /
> fluid.
>
> Anybody encountered this problem already?
AFAIK FlashMessages are only available for BE - they are currently
stored in a BEUser session.
regards
Dennis
More information about the TYPO3-project-typo3v4mvc
mailing list