vhs
vhs copied to clipboard
Call to protected method TYPO3\CMS\Core\Domain\Repository\PageRepository::init() from context 'FluidTYPO3\Vhs\Service\PageService'
In the page module I get the following error message when I try to open some pages:
Call to protected method TYPO3\CMS\Core\Domain\Repository\PageRepository::init() from context 'FluidTYPO3\Vhs\Service\PageService'
VHS 6.1.0 / 6.1.1 (works fine in 6.0.5) TYPO3 10.4.28 PHP 7.4.6
Same overhere, maybe this indicator can help: I'm calling {v:page.rootline(pageUid: '{pageUid}')}
inside the <f:section name="Preview"></f:section>
/Edit: same occurs if I call {v:page:info()}
in the preview-section. The docs actually say Does not work in the TYPO3 backend.
for this ViewHelper.
Solved in current development branch. The init()
method will only be called on TYPO3 8.7.