We had some troubles to run the Solr Indexing Job over the "execManual" Mode.
After add some more basic initialsation in the method execManual() it works now fine.
protected function execManual($taskId, $force) {
// setup
$output = array();
// START FIX (init some stuff which is necessary for the solr index task)
\TYPO3\CMS\Frontend\Utility\EidUtility::initLanguage();
\TYPO3\CMS\Frontend\Utility\EidUtility::initTCA();
$GLOBALS['BE_USER'] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\CMS\Core\Authentication\BackendUserAuthentication');
$GLOBALS['BE_USER']->start();
// END FIX
I don't know, if this is useful in general? Maybe you can include it.
We had some troubles to run the Solr Indexing Job over the "execManual" Mode.
After add some more basic initialsation in the method execManual() it works now fine.
I don't know, if this is useful in general? Maybe you can include it.