Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Attempt to read property "cTypes" on null #507

Closed
bh-teufels opened this issue Aug 12, 2022 · 1 comment
Closed

[BUG] Attempt to read property "cTypes" on null #507

bh-teufels opened this issue Aug 12, 2022 · 1 comment

Comments

@bh-teufels
Copy link

With mask 7.2.9 following error appears on BE:

An error occurred trying to process items for field "Type" (PHP Warning: Attempt to read property "cTypes" on null in /app/web/typo3conf/ext/mask/Classes/ItemsProcFuncs/CTypeList.php line 76).

Core: Exception handler (WEB): Uncaught TYPO3 Exception: array_flip(): Argument #1 ($array) must be of type array, null given | TypeError thrown in file /typo3conf/ext/mask/Classes/ItemsProcFuncs/CTypeList.php in line 79.

Typo3: 11.5.14
PHP: 8.1.2
mask: 7.2.9

with mask 7.2.8 the errors does not appear

@nhovratov
Copy link
Collaborator

Ah, yes I was afraid this might happen. Will release a fix asap.

nhovratov added a commit that referenced this issue Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants