Slim view for Albums throws error

buppibuppi Member

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

  • #31 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #32 /var/www/astiga/play/app/Middlewares/AuthenticationMiddleware.php(25): Slim\Route->Slim\{closure}()
    #33 [internal function]: Astiga\Middlewares\AuthenticationMiddleware->__invoke()
    #34 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #35 [internal function]: Slim\DeferredCallable->__invoke()
    #36 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #37 /var/www/astiga/play/app/Middlewares/CacheControlMiddleware.php(21): Slim\Route->Slim\{closure}()
    #38 [internal function]: Astiga\Middlewares\CacheControlMiddleware->__invoke()
    #39 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #40 [internal function]: Slim\DeferredCallable->__invoke()
    #41 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #42 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->Slim\{closure}()
    #43 /var/www/astiga/play/vendor/slim/slim/Slim/Route.php(268): Slim\Route->callMiddlewareStack()
    #44 /var/www/astiga/play/vendor/slim/slim/Slim/App.php(503): Slim\Route->run()
    #45 /var/www/astiga/play/app/Middlewares/CacheControlMiddleware.php(21): Slim\App->__invoke()
    #46 [internal function]: Astiga\Middlewares\CacheControlMiddleware->__invoke()
    #47 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #48 [internal function]: Slim\DeferredCallable->__invoke()
    #49 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #50 /var/www/astiga/play/app/Middlewares/PartialPageMiddleware.php(14): Slim\App->Slim\{closure}()
    #51 [internal function]: Astiga\Middlewares\PartialPageMiddleware->__invoke()
    #52 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #53 [internal function]: Slim\DeferredCallable->__invoke()
    #54 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #55 /var/www/astiga/play/index.php(155): Slim\App->Slim\{closure}()
    #56 [internal function]: Closure->{closure}()
    #57 /var/www/astiga/play/vendor/slim/slim/Slim/DeferredCallable.php(57): call_user_func_array()
    #58 [internal function]: Slim\DeferredCallable->__invoke()
    #59 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func()
    #60 /var/www/astiga/play/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}()
    #61 /var/www/astiga/play/vendor/slim/slim/Slim/App.php(392): Slim\App->callMiddlewareStack()
    #62 /var/www/astiga/play/vendor/slim/slim/Slim/App.php(297): Slim\App->process()
    #63 /var/www/astiga/play/index.php(163): Slim\App->run()
    #64 {main}
    


  • gravelldgravelld Administrator

    Ooops - thanks. We'll get on it.

Sign In or Register to comment.