Gernott / mask

TYPO3 Extension Mask
https://www.facebook.com/typo3mask
GNU General Public License v2.0
130 stars 86 forks source link

Typo3 v11,PHP 8 : Undefined array key "tt_content" in #440

Closed rupasix closed 3 years ago

rupasix commented 3 years ago

We want to use mask (7.0.27) from https://extensions.typo3.org/extension/mask in Typo3 v11 with PHP8, but we get error:

(1/1) #1476107295 TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "tt_content" in /typo3conf/ext/mask/Classes/CodeGenerator/TyposcriptCodeGenerator.php line 192

Strange thing is when we compare github repo file https://github.com/Gernott/mask/blob/master/Classes/CodeGenerator/TyposcriptCodeGenerator.php#L192 with that from https://extensions.typo3.org, we have something entirely different. Maybe something's wrong with extensions publishing process?

nhovratov commented 3 years ago

@rupasix Hi, thanks for the report! Yes, the master branch had a huge refactoring.