Issue Bug Closed

#79098CMS Fluid adapter can cause fatal PHP error

Claus Due 12/27/16, 14:27 updated 10/02/18, 11:04

Description

When attempting to render a template when a valid TS configuration cannot be found, a fatal php error is triggered because ConfigurationManager returns NULL when asked to return “all typoscript”.

This is very much an edge case, but it can be completely and safely prevented by casting the output of “all typoscript” to an array (empty array, causes pointing to extension’s default expected template folders).

Reviews 1