[Flow] Security.ifAccess view helper "Undefined index: runtimeEvaluationsClosureCode" error

Bastian Waidelich bastian at typo3.org
Fri Nov 7 09:58:56 CET 2014


Rocky wrote:

Hi,

> I tried to use security.ifAccess view helper for Entity. But got error
> saying "#1: Notice: Undefined index: runtimeEvaluationsClosureCode ...
> in TYPO3_Flow_Security_Policy_PolicyService.php line 459

The "runtimeEvaluationsClosureCode" is created on first hit and saved in 
the cache. When you change Policy.yaml this cache should be flushed - 
and thus recreated.

Maybe that didn't work for some reason, did you try to flush the caches 
manually?

./flow flow:cache:flush


-- 
Bastian Waidelich


More information about the Flow mailing list