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

PHP Warning: Undefined array key "pageuid" in AfterLinkIsGeneratedListener.php line 118 #762

Closed
kitzberger opened this issue Aug 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kitzberger
Copy link
Contributor

kitzberger commented Aug 15, 2024

Follow-up to #741

Core: Error handler (FE): PHP Warning: Undefined array key "pageuid" in EXT:headless/Classes/Event/Listener/AfterLinkIsGeneratedListener.php line 118

For custom typolinks pageuid isn't set and triggers a PHP Warning: Undefined array key "pageuid".

Maybe use ($linkDetails['pageuid'] ?? 'current') === 'current') in line 112 to prevent that?

@kitzberger kitzberger added the bug Something isn't working label Aug 15, 2024
@kitzberger
Copy link
Contributor Author

kitzberger commented Aug 16, 2024

Just noticed it's been already fixed on master. Nevermind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant