Slim view for Albums throws error
Saw this behavior across multiple tabs in Albums in both Title and Year groups. UI defaults to album thumbnail view. When slim view is selected, I am taken to a blank web page with the following message:
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-year.twig
Line: 27
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() #25 /var/www/astiga/play/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(40): call_user_func() #26 /var/www/astiga/play/vendor/slim/slim/Slim/Route.php(281): Slim\Handlers\Strategies\RequestResponse->__invoke() #27 /var/www/astiga/play/app/Middlewares/AuthorisationMiddleware.php(41): Slim\Route->__invoke() #28 [internal function]: Astiga\Middlewares\AuthorisationMiddleware->__invoke() #29 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array() #30 [internal function]: Slim\DeferredCallable->__invoke()
[more error message steps will be provided in comments as this post hit character limit]
Not reproduceable on Artists/Genre pages where the behavior is to leave whatever sorted tab the user is viewing and show the full library slim view list.
Comments
Ooops - thanks. We'll get on it.