Project

General

Profile

Bug #88365

Updated by Patrick Lenk over 5 years ago

With PHP 7.3.5 the frontend and mail output is broken and a php warning in the backend log is shown, if the <style> element is used in fluid templates or layouts. 

 I use the <style> element in some plugin fluid templates (ext:powermail), with PHP 7.3.5 the frontend output is broken. 

 I also use the <style> element in some plugin fluid layouts for mails (ext:powermail), with PHP 7.3.5 the mail output is broken. After each form submit, the following two warnings are shown in the backend log: 
 <pre> 
 Core: Error handler (FE): PHP Warning: Invalid argument supplied for foreach() in /<REMOVED>/vendor/typo3fluid/fluid/src/Core/Parser/TemplateParser.php line 591 

 Core: Error handler (FE): PHP Warning: Invalid argument supplied for foreach() in /<REMOVED>/vendor/typo3fluid/fluid/src/Core/Parser/TemplateProcessor/NamespaceDetectionTemplateProcessor.php line 180 
 </pre> 

 It apears only on remote linux server, not on local windows test machine! 

 Temporary fix: Moving styles from the <style> element in the fluid templates to a external file and remove the <style> rules to (only) inline styles in the fluid mail layouts. 

 I don't think this is a issue of ext:powermail, because this issue: https://github.com/TYPO3/Fluid/issues/452 

Back