Deprecation: #87305 - Use constructor injection in DataMapper¶
See Issue #87305
The 8th argument (
\TYPO3\CMS\Extbase\Persistence\QueryInterface) of method
\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper->__construct has been marked as deprecated.
Instantiating objects along with that argument will trigger a PHP
All installations that create instances of the class
\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper while providing the 8th argument.
Instantiate the object without the 8th argument and use
\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper->setQuery if needed.