• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 195

Backtrace:

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/views/question.php
Line: 195
Function: _error_handler

File: /home/u125378470/domains/lawhelpguru.org/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/u125378470/domains/lawhelpguru.org/public_html/index.php
Line: 315
Function: require_once

name Punditsdkoslkdosdkoskdo

Why is my discord bot not working on ubuntu? [closed]

I'm making a Discord bot in python. On Windows it runs fine, on linux however it starts, and all the events work but it doesn't respond to the commands. It also doesn't throw an error, so I don't know whats the problem... I'm using PopOS 20.04, python3 and discord.py rewrite. Here is the code: https://drive.google.com/file/d/1xHO9cj4hzHaUAY25lD9pKGdxEiMBbTEe/view?usp=sharing

Btw sorry if my English is bad.