Website Error Clicking Albums, List View Icon
This is reproducible. Click Albums on the website followed by the icon to the right to display a list:
Slim Application Error
The application could not run because of the following error:
Details
Type: Twig\Error\SyntaxError
Message: Unknown "esqape" filter. Did you mean "escape"?
File: /var/www/astiga/play/templates/albums-list.twig
Line: 20
Trace
#0 /var/www/astiga/play/vendor/twig/twig/src/ExpressionParser.php(584): Twig\ExpressionParser->getFilter() #1 /var/www/astiga/play/vendor/twig/twig/src/ExpressionParser.php(566): Twig\ExpressionParser->parseFilterExpressionRaw() #2 /var/www/astiga/play/vendor/twig/twig/src/ExpressionParser.php(441): Twig\ExpressionParser->parseFilterExpression() #3 /var/www/astiga/play/vendor/twig/twig/src/ExpressionParser.php(289): Twig\ExpressionParser->parsePostfixExpression() #4 /var/www/astiga/play/vendor/twig/twig/src/ExpressionParser.php(175): Twig\ExpressionParser->parsePrimaryExpression() #5 /var/www/astiga/play/vendor/twig/twig/src/ExpressionParser.php(70): Twig\ExpressionParser->getPrimary() #6 /var/www/astiga/play/vendor/twig/twig/src/Parser.php(130): Twig\ExpressionParser->parseExpression() #7 /var/www/astiga/play/vendor/twig/twig/src/TokenParser/IfTokenParser.php(50): Twig\Parser->subparse() #8 /var/www/astiga/play/vendor/twig/twig/src/Parser.php(174): Twig\TokenParser\IfTokenParser->parse() #9 /var/www/astiga/play/vendor/twig/twig/src/TokenParser/IfTokenParser.php(41): Twig\Parser->subparse() #10 /var/www/astiga/play/vendor/twig/twig/src/Parser.php(174): Twig\TokenParser\IfTokenParser->parse() #11 /var/www/astiga/play/vendor/twig/twig/src/TokenParser/ForTokenParser.php(42): Twig\Parser->subparse() #12 /var/www/astiga/play/vendor/twig/twig/src/Parser.php(174): Twig\TokenParser\ForTokenParser->parse() #13 /var/www/astiga/play/vendor/twig/twig/src/TokenParser/BlockTokenParser.php(44): Twig\Parser->subparse() #14 /var/www/astiga/play/vendor/twig/twig/src/Parser.php(174): Twig\TokenParser\BlockTokenParser->parse() #15 /var/www/astiga/play/vendor/twig/twig/src/Parser.php(83): Twig\Parser->subparse() #16 /var/www/astiga/play/vendor/twig/twig/src/Environment.php(523): Twig\Parser->parse() #17 /var/www/astiga/play/vendor/twig/twig/src/Environment.php(551): Twig\Environment->parse() #18 /var/www/astiga/play/vendor/twig/twig/src/Environment.php(381): Twig\Environment->compileSource() #19 /var/www/astiga/play/vendor/twig/twig/src/Environment.php(343): Twig\Environment->loadTemplate() #20 /var/www/astiga/play/vendor/twig/twig/src/Environment.php(306): Twig\Environment->load() #21 /var/www/astiga/play/vendor/slim/twig-view/src/Twig.php(92): Twig\Environment->render() #22 /var/www/astiga/play/vendor/slim/twig-view/src/Twig.php(136): Slim\Views\Twig->fetch() #23 /var/www/astiga/play/app/Controllers/AlbumsController.php(143): Slim\Views\Twig->render() #24 [internal function]: Astiga\Controllers\AlbumsController->renderList()
Comments
🤦 we fixed this in the last release, but it was rolled back during an infrastructure update. I've redeployed, and made sure it won't rollback.
Thanks for spotting.