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 "workspace" on null #2065

Open
afle opened this issue Feb 17, 2023 · 1 comment
Open

Bug? Attempt to read property "workspace" on null #2065

afle opened this issue Feb 17, 2023 · 1 comment

Comments

@afle
Copy link

afle commented Feb 17, 2023

Hi,

PHP Warning: Attempt to read property "workspace" on null in <...>/typo3conf/ext/flux/Classes/ViewHelpers/Content/GetViewHelper.php line 132

Currently in use:
Typo3 11.5.24
Flux 9.5.0

@NamelessCoder
Copy link
Member

Hi @afle,

Are you by any chance calling this ViewHelper in a backend context? If so, that is not supported and would explain the problem.

If you are using it in a frontend context and you see this error, I would advise you to first try a more recent version of Flux (9.5.0 is pretty outdated by now). And if that still fails, I would be grateful if you could try with dev-development which has been changed in this ViewHelper to use the Context class which definitely should not be causing any issue like this.

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