TypeError

Cannot read properties of undefined (reading 'id')

pages/_slug/_id.vue:82:
asyncData
<li class="default-rating__item" v-for="idx of 5" :key="idx" > <ion-icon class="default-rating__icon md" name="star-sharp" role="img" aria-label="star sharp" v-if="idx <= rating"
node:internal/process/task_queues:95:5
process.processTicksAndRejections
.nuxt/server.js:259:
async module.exports.__webpack_exports__.default
if (!Components.length) { return render404Page() } // Call asyncData & fetch hooks on components matched by the route. const asyncDatas = await Promise.all(Components.map((Component) => { const promises = [] // Call asyncData(context) if (Component.options.asyncData && typeof Component.options.asyncData === 'function') { const promise = promisify(Component.options.asyncData, app.context)

Request Details

URI /country/turkey/
Request Method GET
HTTP Version 1.0
Connection close

Headers

HOST kazantk.ru
X-REAL-IP 172.23.0.1
X-FORWARDED-FOR 35.175.212.5, 172.23.0.1
X-FORWARDED-PROTO http
ACCEPT */*
USER-AGENT claudebot
REFERER http://kazantk.ru/country/turkey

Cookies