/var/www/affairesdepro/views/portal/modules/offers/univers.ejs:3
1| <%- include('./partials/header.ejs') %>
2| <%- include('./partials/scripts.ejs') %>
>> 3| <%- include('./partials/menuCateg.ejs') %>
4|
5| <script>
6| var current = <%=paginate.currentPage %>;
/var/www/affairesdepro/views/portal/modules/offers/partials/menuCateg.ejs:3
1| <div id='category'>
2| <div class="category-wrapper">
>> 3| <% category.subCategories.forEach(function(myCateg){ %>
4| <ul class='mainCategory'>
5| <li>
6| <div class='menuItem'>
Cannot read properties of undefined (reading 'subCategories')