Androz2091 / Androz2091/Sworder-Dashboard.io

TypeError: Cannot read property 'hasPermission' of undefined

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
23
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hello, whenever I click on a guild, the following error message comes up:

> `TypeError: Cannot read property 'hasPermission' of undefined
at C:\Users\Jonas\Documents\IdeaProjects\modbot\routes\server.js:11:84
at Layer.handle [as handle_request] (C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\route.js:137:13)
at module.exports (C:\Users\Jonas\Documents\IdeaProjects\modbot\middlewares\CheckAuth.js:2:29)
at Layer.handle [as handle_request] (C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\layer.js:95:5)
at C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\index.js:281:22
at param (C:\Users\Jonas\Documents\IdeaProjects\modbot\node_modules\express\lib\router\index.js:354:14)
`

I haven't changed anything in the code, except to translate into German on the website.

Can someone help me?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.