Bug #88615

Fluid error with PHP 7.3 in backend user module

Added by Markus Klein 5 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-06-22
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

Usage of BE user module is not possible with PHP 7.3

PHP Warning: Invalid argument supplied for foreach() in .../vendor/typo3fluid/fluid/src/Core/Parser/TemplateProcessor/NamespaceDetectionTemplateProcessor.php line 180

The reason is documented in https://github.com/TYPO3/Fluid/issues/453

I tested only on latest v10 master, but this should be fixed for v9 too.

Suggested workaround is to simply deny parsing the affected inline JS code, by wrapping it with CDATA tag.

History

#1 Updated by Gerrit Code Review 5 months ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61119

#2 Updated by Gerrit Code Review 5 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61119

#3 Updated by Gerrit Code Review 4 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61119

#5 Updated by Markus Klein 4 months ago

  • Status changed from Under Review to Accepted
  • Assignee deleted (Markus Klein)

#6 Updated by Riccardo De Contardi about 2 months ago

Still relevant?

https://github.com/TYPO3/Fluid/issues/453 has been closed and https://github.com/TYPO3/Fluid/pull/451 has been merged if I am not wrong.

#7 Updated by Markus Klein about 2 months ago

  • Status changed from Accepted to Closed

resolved in latest master

Also available in: Atom PDF