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 warning on PHP 8.0 #198

Closed
Physikbuddha opened this issue Feb 8, 2022 · 0 comments · Fixed by #199
Closed

Undefined array key warning on PHP 8.0 #198

Physikbuddha opened this issue Feb 8, 2022 · 0 comments · Fixed by #199
Assignees

Comments

@Physikbuddha
Copy link
Contributor

Describe the bug
After installation, a PHP warning is issued on every frontend request:
Undefined array key 'tx_pdfviewhelpers' in class Bithost\Pdfviewhelpers\Middleware\Frontend\StopOutputMiddleware:22

Environment
TYPO3 version: v11.5.6
pdfviewhelpers version: v2.4.0
PHP version: 8.1.2

Steps to reproduce
Install the extension and load any page in the frontend. The exception will appear.

Expected behavior
The frontend should not crash when you install pdfviewhelpers.

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 a pull request may close this issue.

2 participants