ReferenceError: C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\views\layout.ejs:17
    15|     
    16|     
 >> 17|     <%
    18| let finalTitle = trans('seo.home', 'Football statistics and results | SoccerSTATS.com');
    19| const path = typeof currentPath !== 'undefined' ? currentPath.toLowerCase() : '';
    20| const pathParts = path.split('/').filter(Boolean);

trans is not defined
    at eval ("C:\\Inetpub\\vhosts\\soccerstats.com\\httpdocs\\nodeweb\\views\\layout.ejs":19:18)
    at layout (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\ejs\lib\cjs\ejs.js:643:23)
    at tryHandleCache (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\ejs\lib\cjs\ejs.js:253:42)
    at ejs.renderFile [as engine] (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\ejs\lib\cjs\ejs.js:444:12)
    at View.render (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\express\lib\view.js:139:8)
    at tryRender (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\express\lib\application.js:627:10)
    at app.render (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\express\lib\application.js:574:3)
    at ServerResponse.render (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\express\lib\response.js:923:7)
    at C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\express-ejs-layouts\lib\express-layouts.js:113:20
    at renderTick (C:\Inetpub\vhosts\soccerstats.com\httpdocs\nodeweb\node_modules\express\lib\view.js:154:23)