vhs icon indicating copy to clipboard operation
vhs copied to clipboard

Call to protected method TYPO3\CMS\Core\Domain\Repository\PageRepository::init() from context 'FluidTYPO3\Vhs\Service\PageService'

Open dennismetz opened this issue 2 years ago • 1 comments

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

dennismetz avatar May 18 '22 09:05 dennismetz

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.

jwittorf avatar Jul 04 '22 08:07 jwittorf

Solved in current development branch. The init() method will only be called on TYPO3 8.7.

NamelessCoder avatar Nov 25 '22 17:11 NamelessCoder