TypeError: /var/www/aci-asso.fr/views/aci/article.ejs:38
36|
37| <!-- Title -->
>> 38| <h1 class="mt-4 text-uppercase"><%= post.title %></h1>
39|
40| <!-- Author -->
41| <p class="lead">Par <span class="color-b"><%= post.auteur %></span></p>
Cannot read properties of null (reading 'title')
at eval ("/var/www/aci-asso.fr/views/aci/article.ejs":18:31)
at article (/var/www/aci-asso.fr/node_modules/ejs/lib/ejs.js:703:17)
at tryHandleCache (/var/www/aci-asso.fr/node_modules/ejs/lib/ejs.js:274:36)
at View.exports.renderFile [as engine] (/var/www/aci-asso.fr/node_modules/ejs/lib/ejs.js:491:10)
at View.render (/var/www/aci-asso.fr/node_modules/express/lib/view.js:135:8)
at tryRender (/var/www/aci-asso.fr/node_modules/express/lib/application.js:657:10)
at Function.render (/var/www/aci-asso.fr/node_modules/express/lib/application.js:609:3)
at ServerResponse.render (/var/www/aci-asso.fr/node_modules/express/lib/response.js:1039:7)
at article (/var/www/aci-asso.fr/src/controllers/aciController.js:42:9)
at runMicrotasks (<anonymous>)