Exception when calling ./typo3 solrcommands:cleanupindex for any deleted site root pages. There might be a try catch block missing?
The rootPageRecord for the given rootPageRecord ID '10487' could not be found in the database and can therefore not be used as site root rootPageRecord.
Exception trace:
at /var/www/private/typo3conf/ext/solr/Classes/Domain/Site/SiteRepository.php:217
ApacheSolrForTypo3\Solr\Domain\Site\SiteRepository->buildSite() at /var/www/private/typo3conf/ext/solr/Classes/Domain/Site/SiteRepository.php:133
ApacheSolrForTypo3\Solr\Domain\Site\SiteRepository->getSiteByRootPageId() at /var/www/private/typo3conf/ext/solr/Classes/Domain/Site/SiteRepository.php:114
ApacheSolrForTypo3\Solr\Domain\Site\SiteRepository->getSiteByPageId() at /var/www/private/typo3conf/ext/solr_commands/Classes/Command/CleanupIndexCommand.php:35
Networkteam\SolrCommands\Command\CleanupIndexCommand->execute() at /var/www/vendor/symfony/console/Command/Command.php:298
Symfony\Component\Console\Command\Command->run() at /var/www/vendor/symfony/console/Application.php:1058
Symfony\Component\Console\Application->doRunCommand() at /var/www/vendor/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at /var/www/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at /var/www/private/typo3/sysext/core/Classes/Console/CommandApplication.php:114
TYPO3\CMS\Core\Console\CommandApplication->run() at /var/www/vendor/typo3/cms-cli/typo3:23
{closure}() at /var/www/vendor/typo3/cms-cli/typo3:24
include() at /var/www/bin/typo3:119
Exception when calling
./typo3 solrcommands:cleanupindexfor any deleted site root pages. There might be a try catch block missing?