FluidTYPO3 / vhs

TYPO3 extension VHS: Fluid ViewHelpers
https://fluidtypo3.org
Other
189 stars 228 forks source link

Bug: Error "Couldn't find constant PATH_site" in TYPO3 10 #1675

Closed janisint closed 4 years ago

janisint commented 4 years ago

Setup: TYPO3 = 10.4.5 vhs = 6.0.3

I have a TYPO3 installation where I use vhs. Today I ran into the following error: image

I think this is a bug since this constant was marked deprecated in TYPO3 10: TYPO3 Constants

In my opinion this error shouldn't appear.

Temporary workaround create constant by yourself: if(!defined("PATH_site")) { define("PATH_site", \TYPO3\CMS\Core\Core\Environment::getPublicPath() . '/'); }

NamelessCoder commented 4 years ago

Solved in dev-development, release is still pending. See https://github.com/FluidTYPO3/vhs/issues/1664 for further info and temporary workaround.