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

[BUGFIX] Fix notice exception in ScoreCalculationService #4253

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

Conversation

georgringer
Copy link
Contributor

Fix exception

 Exception: PHP Warning: Undefined array key 0 in /var/www/html/vendor/apache-solr-for-typo3/solr/Classes/Domain/Search/Score/ScoreCalculationService.php line 101, in file /var/www/html/vendor/typo3/cms-core/Classes/Error/ErrorHandler.php:141 - {"exception":"TYPO3\\CMS\\Core\\Error\\Exception: PHP Warning: Undefined array key 0 in /var/www/html/vendor/apache-solr-for-typo3/solr/Classes/Domain/Search/Score/ScoreCalculationService.php line 101

I don't know the internals of the code but got the issue at a client

Fix exception
```
 Exception: PHP Warning: Undefined array key 0 in /var/www/html/vendor/apache-solr-for-typo3/solr/Classes/Domain/Search/Score/ScoreCalculationService.php line 101, in file /var/www/html/vendor/typo3/cms-core/Classes/Error/ErrorHandler.php:141 - {"exception":"TYPO3\\CMS\\Core\\Error\\Exception: PHP Warning: Undefined array key 0 in /var/www/html/vendor/apache-solr-for-typo3/solr/Classes/Domain/Search/Score/ScoreCalculationService.php line 101
```
@dkd-kaehm
Copy link
Collaborator

@georgringer
Which versions are affected?

@georgringer
Copy link
Contributor Author

Currently using v12 but all are affected

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.

2 participants