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

Undefined array key #599

Closed
dennismetz opened this issue Oct 16, 2023 · 2 comments
Closed

Undefined array key #599

dennismetz opened this issue Oct 16, 2023 · 2 comments

Comments

@dennismetz
Copy link

When I disable a backend user I get the following error message:

PHP Warning: Undefined array key "tree" in ...vendor/mask/mask/Classes/ExpressionLanguage/MaskFunctionsProvider.php line 48

TYPO3 12.4.7
PHP 8.1.23
Mask: 8.3.5

@nhovratov
Copy link
Collaborator

Thanks for reporting, I will have a look.

nhovratov added a commit that referenced this issue Oct 16, 2023
This avoids access of the unavailable object `tree` if page ts config
is built outside the context of a page tree. This could happen for pid
0 or -1.

Fixes: #599
(cherry picked from commit 8b2343e)
@nhovratov
Copy link
Collaborator

Thank you again for the bug report. Fixed in v8.3.6.

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