Closed stefanweisswange closed 4 years ago
Ran into this issue in the v:resource.record.fal
viewhelper as well. The Class TYPO3\CMS\Frontend\Page\PageRepository
was moved to TYPO3\CMS\Core\Domain\Repository\PageRepository
. Also the method getFileReferences()
itself was deprecated and removed from the PageRepository Class in TYPO3 10.
Setup TYPO3 10.2 VHS 6.0
We use
v:page.resources.fal
to retrieve ressources from pages and get an exception:Call to undefined method TYPO3\CMS\Core\Domain\Repository\PageRepository::getFileReferences() in /var/www/html/typo3conf/ext/vhs/Classes/ViewHelpers/Resource/Record/FalViewHelper.php line 128
since the method
PageRepository::getFileReferences()
was deprecated in TYPO3 9 and was removed in TYPO3 10: 9.4 Changes » Deprecation: #85699 - Various methods in PageRepository.I think the changes for the TYPO3 core are in this commit: [TASK] Move PageRepository to EXT:core.