Closed Misco closed 1 year ago
Bestimmt, ich kümmere mich gleich daraum
so scheint es zu klappen:
$arrTags[$idx]['url'] = StringUtil::ampersand($pageObj->current()->getFrontendUrl('/tag/' . $tag['tag']));
Fixed in ef759f02354437ff2a52f966d07063efd939e793
request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "getFrontendUrl" of class "Contao\Model\Collection"." at /www/htdocs/w01795d8/c4/vendor/hschottm/tags/classes/TagHelper.php line 192 {"exception":"[object] (Symfony\Component\ErrorHandler\Error\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"getFrontendUrl\" of class \"Contao\Model\Collection\". at /www/htdocs/w01795d8/c4/vendor/hschottm/tags/classes/TagHelper.php:192)"} []
hoffe es gibt einen einfachen fix =)