500

TypeError

Cannot read properties of undefined (reading 'Title')

app/Controllers/Http/MytonJlr_Static_Page_Controller.js:33:63
MytonJlr_Static_Page_Controller.page
console.log(chalk.greenBright('Static Webpage Loaded - ID : ' + chalk.yellowBright(page_id))) console.log(db_products_static_web_pages) let data_formatted_as_not_array = db_products_static_web_pages[0] console.log('Page Title ->' + data_formatted_as_not_array.Title) let page_html_data = { page_title : data_formatted_as_not_array.Title, admin_status_top_bar : await build_admin_top_bar_front_end_component(session) // bread_crumb_primary : part_object_to_return.primary_,
node:internal/process/task_queues:95:5
process.processTicksAndRejections
node_modules/@adonisjs/framework/src/Server/index.js:121:25
async Server._routeHandler
* * @private */ async _routeHandler (ctx, next, params) { const { method } = resolver.forDir('httpControllers').resolveFunc(params[0]) const returnValue = await method(ctx) this._safelySetResponse(ctx.response, returnValue) await next() }
app/Middleware/ConvertEmptyStringsToNull.js:13:5
async ConvertEmptyStringsToNull.handle
[key]: request.body[key] !== '' ? request.body[key] : null })) ) } await next() } } module.exports = ConvertEmptyStringsToNull
node_modules/@adonisjs/auth/src/Middleware/AuthInit.js:60:5
async AuthInit.handle
user: auth.user } }) } await next() } /** * Attempt to login the user on each request ( if scheme is session ) *
node_modules/@adonisjs/shield/src/Shield/index.js:417:5
async Shield.handle
/** * Set token on the request object */ this.setRequestCsrfToken(newCsrfToken, request) await next() } } module.exports = Shield
node_modules/@adonisjs/session/src/Session/Middleware.js:76:5
async SessionMiddleware.handle
ctx.request.flashMessages = flashMessages /** * Move the chain */ await next() /** * Commit changes back to the driver, only when in implicit * mode. Otherwise the end user will have to save them * manually.
node_modules/@adonisjs/bodyparser/src/BodyParser/index.js:242:7
async BodyParser.handle
/** * Don't bother when request does not have body */ if (!request.hasBody()) { debug('skipping body parsing, since request body is empty') await next() return } /** * Body is multipart/form-data and autoProcess is set to

Request Details

URI /page/jaguar-parts-malaysia
Request Method GET
HTTP Version 1.1
Connection Keep-Alive

Headers

HOST localhost:3000
ACCEPT */*
USER-AGENT claudebot
X-FORWARDED-FOR 54.226.126.38
X-FORWARDED-HOST www.myton.parts
X-FORWARDED-SERVER www.myton.parts

Cookies