(1/1) ArgumentCountError Too few arguments to function TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserFactory::__construct(), 0 passed in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3217 and exactly 2 expected in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/DataHandling/SoftReference/SoftReferenceParserFactory.php line 33 protected array $softReferenceParsers = []; protected FrontendInterface $runtimeCache; protected LoggerInterface $logger; public function __construct(FrontendInterface $runtimeCache, LoggerInterface $logger) { $this->runtimeCache = $runtimeCache; $this->logger = $logger; at TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserFactory->__construct() in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3217 return self::$container->get($className); } // Create new instance and call constructor with parameters $instance = new $finalClassName(...$constructorArguments); // Register new singleton instance, but only if it is not a known PSR-11 container service if ($instance instanceof SingletonInterface && !(self::$container !== null && self::$container->has($className))) { self::$singletonInstances[$finalClassName] = $instance; } at TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\DataHandling\\SoftReference\\SoftReferenceParserFactory') in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Database/ReferenceIndex.php line 126 public function __construct(EventDispatcherInterface $eventDispatcher = null, SoftReferenceParserFactory $softReferenceParserFactory = null) { $this->eventDispatcher = $eventDispatcher ?? GeneralUtility::makeInstance(EventDispatcherInterface::class); $this->softReferenceParserFactory = $softReferenceParserFactory ?? GeneralUtility::makeInstance(SoftReferenceParserFactory::class); } /** * Sets the current workspace id at TYPO3\CMS\Core\Database\ReferenceIndex->__construct() in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3217 return self::$container->get($className); } // Create new instance and call constructor with parameters $instance = new $finalClassName(...$constructorArguments); // Register new singleton instance, but only if it is not a known PSR-11 container service if ($instance instanceof SingletonInterface && !(self::$container !== null && self::$container->has($className))) { self::$singletonInstances[$finalClassName] = $instance; } at TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Database\\ReferenceIndex') in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php line 545 * @param int $id Record UID */ public function updateRefIndex($id) { $refIndexObj = GeneralUtility::makeInstance(ReferenceIndex::class); $refIndexObj->updateRefIndexTable($this->table, $id); } } at TYPO3\CMS\Core\Resource\Index\FileIndexRepository->updateRefIndex(314562) in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php line 339 $this->table, $data ); $data['uid'] = (int)$connection->lastInsertId($this->table); $this->updateRefIndex($data['uid']); $this->eventDispatcher->dispatch(new AfterFileAddedToIndexEvent($data['uid'], $data)); return $data['uid']; } at TYPO3\CMS\Core\Resource\Index\FileIndexRepository->insertRecord(array('size' => 37893, 'modification_date' => 1599724506, 'creation_date' => 1623351663, 'mime_type' => 'image/jpeg', 'name' => '09bba4f17f.jpg', 'extension' => 'jpg', 'identifier' => '/user_upload/09bba4f17f.jpg', 'identifier_hash' => 'ab230f149bc61543dc321673b11bfdc0ca7bd4e8', 'storage' => 1, 'folder_hash' => '19669f1e02c2f16705ec7587044c66443be70725', 'type' => 2, 'sha1' => '2696e2083b55f5267e57bc1dec072011aefc2a17', 'missing' => 0, 'tstamp' => 1687168181, 'uid' => 314562)) in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php line 318 * @return array */ public function addRaw(array $data) { $data['uid'] = $this->insertRecord($data); return $data; } /** at TYPO3\CMS\Core\Resource\Index\FileIndexRepository->addRaw(array('size' => 37893, 'modification_date' => 1599724506, 'creation_date' => 1623351663, 'mime_type' => 'image/jpeg', 'name' => '09bba4f17f.jpg', 'extension' => 'jpg', 'identifier' => '/user_upload/09bba4f17f.jpg', 'identifier_hash' => 'ab230f149bc61543dc321673b11bfdc0ca7bd4e8', 'storage' => 1, 'folder_hash' => '19669f1e02c2f16705ec7587044c66443be70725', 'type' => 2, 'sha1' => '2696e2083b55f5267e57bc1dec072011aefc2a17', 'missing' => 0)) in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Resource/Index/Indexer.php line 82 ); } $fileProperties = $this->gatherFileInformationArray($identifier); $record = $this->getFileIndexRepository()->addRaw($fileProperties); $fileObject = $this->getResourceFactory()->getFileObject($record['uid'], $record); $metaData = $this->extractRequiredMetaData($fileObject); at TYPO3\CMS\Core\Resource\Index\Indexer->createIndexEntry('/user_upload/09bba4f17f.jpg') in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Resource/ResourceStorage.php line 1479 { if (!$this->isWithinProcessingFolder($fileIdentifier)) { $fileData = $this->getFileIndexRepository()->findOneByStorageAndIdentifier($this, $fileIdentifier); if ($fileData === false) { return $this->getIndexer()->createIndexEntry($fileIdentifier); } return $this->getResourceFactoryInstance()->getFileObject($fileData['uid'], $fileData); } return $this->getProcessedFileRepository()->findByStorageAndIdentifier($this, $fileIdentifier); at TYPO3\CMS\Core\Resource\ResourceStorage->getFileByIdentifier('/user_upload/09bba4f17f.jpg') in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Resource/ResourceStorage.php line 1625 foreach ($fileIdentifiers as $identifier) { if (isset($rows[$identifier])) { $fileObject = $this->getFileFactory()->getFileObject($rows[$identifier]['uid'], $rows[$identifier]); } else { $fileObject = $this->getFileByIdentifier($identifier); } if ($fileObject instanceof FileInterface) { $key = $fileObject->getName(); while (isset($items[$key])) { at TYPO3\CMS\Core\Resource\ResourceStorage->getFilesInFolder(object(TYPO3\CMS\Core\Resource\Folder), 0, 0, true, false, '', false) in /var/www/mysite/releases/167/htdocs/typo3/sysext/core/Classes/Resource/Folder.php line 233 } else { [$backedUpFilters, $useFilters] = $this->prepareFiltersInStorage($filterMode); } $fileObjects = $this->storage->getFilesInFolder($this, $start, $numberOfItems, $useFilters, $recursive, $sort, $sortRev); $this->restoreBackedUpFiltersInStorage($backedUpFilters); return $fileObjects; at TYPO3\CMS\Core\Resource\Folder->getFiles() in /var/www/mysite/releases/167/htdocs/typo3conf/ext/extractor/Classes/Em/MappingController.php line 211 } catch (\Exception $e) { return $e->getMessage(); } $userFiles = $folder->getFiles(); foreach ($userFiles as $file) { if ($file->getName() === 'index.html') { continue; } at Causal\Extractor\Em\MappingController->getFileSelector() in /var/www/mysite/releases/167/htdocs/typo3conf/ext/extractor/Classes/Em/MappingController.php line 139 $html[] = '
' . $this->translate('settings.mapping_configuration.files', true) . '
'; $html[] = '