TypeError: /app/views/djbeauty/offers/details.ejs:5
3| <main class="container">
4| <article>
>> 5| <h1>Name:<%= offer.name %> </h1>
6| <img src="<%= offer.images.url %> " class="img-fluid" alt="Image not found!">
7| <h2>Price: <%= offer.price %> </h2>
8| <p>Description: <%= offer.description %> </p>
Cannot read properties of null (reading 'name')