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

[BUG] Call to a member function getSolrConfiguration() on null #3597

Closed
christophlehmann opened this issue Apr 12, 2023 · 0 comments · Fixed by #3598
Closed

[BUG] Call to a member function getSolrConfiguration() on null #3597

christophlehmann opened this issue Apr 12, 2023 · 0 comments · Fixed by #3598

Comments

@christophlehmann
Copy link
Contributor

Describe the bug

During a TYPO3 Upgrade, i have a root page without a site. An Update Wizard should delete it with all its content.
When I execute the Update Wizard (DataHandler is involed), then this error occurs:

Call to a member function getSolrConfiguration() on null
Exception trace:
#0 ()
typo3conf/ext/solr/Classes/IndexQueue/Queue.php:205
#1 ApacheSolrForTypo3\Solr\IndexQueue\Queue->updateOrAddItemForAllRelatedRootPages()

Expected behavior

The element is skipped.

Used versions (please complete the following information):

  • TYPO3 Version: ^11
  • EXT:solr Version: ^11

Problematic code is also in main branch.

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.

1 participant