Skip to content

- added condition to YamlFileLoader.php to prevent PHP 8.* #22

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

Open
wants to merge 1 commit into
base: v11
Choose a base branch
from

Conversation

zloy88
Copy link

@zloy88 zloy88 commented Dec 23, 2021

In TYPO3 11 running on PHP v8.* the YamlFileLoader is throwing constantly a PHP warning, in line 59 because the array key $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['routes']['additionalPathList'] does not exists initially.

@nm-dh
Copy link

nm-dh commented Jan 13, 2023

This pull request has been open for over 1 year, is this still being transferred to the main branch?

@ndurchx
Copy link

ndurchx commented Feb 24, 2023

Is this extension dead?

@Lacr1ma
Copy link
Owner

Lacr1ma commented Feb 24, 2023

@ndurchx Yes, please you something else.

@Wipster
Copy link

Wipster commented Jun 20, 2023

There is a workaround though:
if (!isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['routes']['additionalPathList'])) { $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['routes']['additionalPathList'] = []; }

Put that into the ext_localconf of e.g. your sitepackage.

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.

5 participants