Open ako-3004 opened 1 year ago
replacing
{v:content.resources.fal(table: 'tt_content', field: 'images', record.uid: uid)}
with
{v:content.resources.fal(table: 'tt_content', field: 'images', record: record)}
solved the error for me
This problem also arises with {v:resource.record()} when used in TYPO3 backend. @ako-3004 's solution fixes the error.
Affects TYPO3 v11.5.13 with flux (9.6.1) and vhs (6.1.2) it is not possible to use "v:content.resources.fal" in a flux content template in the "preview" section:
Flux Content Template:
causes error:
(1/1) #1527777868 TYPO3\CMS\Core\Context\Exception\AspectNotFoundException No aspect named "frontend.preview" found.
So, missing frontend.preview aspect in /var/www/mbcs/public/typo3conf/ext/vhs/Classes/ViewHelpers/Resource/Record/AbstractRecordResourceViewHelper.php line 173
lines 171 to 176:
guess "frontend.preview" is for real frontend preview in TYPO3 backend, but not for the preview section. Aspect "frontend.preview" does not exist in TYPO3\CMS\Core\Context\Context
this may be the solution: