TypeError: /home/ubuntu/CCC-Web/web/views/search.ejs:35
33| <%= locals.title %>
34| </h5>
>> 35| <h5> <%= locals.query.q %>
36| </h5>
37| </div>
38| <hr class="mb-4">
Cannot read property 'q' of undefined
at eval (/home/ubuntu/CCC-Web/web/views/search.ejs:68:39)
at search (/home/ubuntu/CCC-Web/node_modules/ejs/lib/ejs.js:682:17)
at tryHandleCache (/home/ubuntu/CCC-Web/node_modules/ejs/lib/ejs.js:254:36)
at View.exports.renderFile [as engine] (/home/ubuntu/CCC-Web/node_modules/ejs/lib/ejs.js:485:10)
at View.render (/home/ubuntu/CCC-Web/node_modules/express/lib/view.js:135:8)
at tryRender (/home/ubuntu/CCC-Web/node_modules/express/lib/application.js:640:10)
at Function.render (/home/ubuntu/CCC-Web/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/home/ubuntu/CCC-Web/node_modules/express/lib/response.js:1012:7)
at Home.all (/home/ubuntu/CCC-Web/components/home.js:192:9)
at runMicrotasks (<anonymous>)