Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Working hours: Cannot read properties of undefined (reading '0') #529

Open
1 task done
GmodCentral opened this issue Mar 9, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working

Comments

@GmodCentral
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Creating a ticket results in y65ebdb3c1 error, telling us to send to administrator.

Error in console is the following.
08/03/24 19:45:00 [ERROR] (MODALS) "questions" modal execution error: TypeError: Cannot read properties of undefined (reading '0')

The ticket itself is created in the sidebar, but the end user sees the error message and assumes the ticket failed to be created.

Expected Behavior

Create ticket without error.

Steps To Reproduce

Create ticket.
Results in error.

Environment

- OS:Pterodactyl Egg
- Node:18
- NPM:
- Bot:Latest Version

Anything else?

No response

@GmodCentral GmodCentral added the bug Something isn't working label Mar 9, 2024
@eartharoid
Copy link
Member

Oops, I didn't see this.
You haven't copied the whole error message but I think this is the same as #452.
The working hours feature seems to be broken but you can disable the feature by setting all of the times to their defaults, 00:00 to 23:59

@eartharoid eartharoid changed the title [BUG] y65ebdb3c1 Error on ticket Creation. [BUG] Working hours: Cannot read properties of undefined (reading '0') Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants