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

[BUGFIX] Avoid global state usage in Services.php #11

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

peterkraume
Copy link
Contributor

Avoid ExtensionManagementUtility::isLoaded and rather derivce conditional container state from current container state.

Advantage is that container builds become stateless again.

This fix helps to prevent this error message in TYPo3 v11:
Call to a member function isPackageActive() on null
The error occurs even in frontend views.

Avoid ExtensionManagementUtility::isLoaded
and rather derivce conditional container
state from current container state.

Advantage is that container builds become
stateless again.

This fix helps to prevent this error message:
`Call to a member function isPackageActive() on null`
@georgringer georgringer merged commit 08fa15e into georgringer:master Oct 22, 2021
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

Successfully merging this pull request may close these issues.

2 participants