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 from IndexerRunner.php for TYPO3 12.4 / PHP 8.1 #155

Closed
freshworkx opened this issue May 9, 2023 · 1 comment
Closed

PHP Warning from IndexerRunner.php for TYPO3 12.4 / PHP 8.1 #155

freshworkx opened this issue May 9, 2023 · 1 comment

Comments

@freshworkx
Copy link

According to the documentation from https://docs.typo3.org/m/typo3/reference-tca/12.4/en-us/ColumnsConfig/Type/Select/Properties/Items.html#items

using the numerical indexes 0 - 4 is deprecated. Use the newly introduced keys.

see:

This TCA configuration for the field type leads to PHP Warning: Undefined array key 1 in /var/www/html/vendor/tpwd/ke_search/Classes/Indexer/IndexerRunner.php line 108

see:

$this->defaultIndexerTypes[] = $indexerType[1];

Solution:
For TYPO3 12 use the newly introduced key named value, instead of the numerical index 1

@christianbltr
Copy link
Member

Thanks for reporting. This has been fixed in current master version with #161 and will be in ke_search 5.0.0.

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