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] Notification error 500 on clean install #2509

Open
1 of 2 tasks
remygrandin opened this issue May 14, 2024 · 0 comments
Open
1 of 2 tasks

[BUG] Notification error 500 on clean install #2509

remygrandin opened this issue May 14, 2024 · 0 comments

Comments

@remygrandin
Copy link

remygrandin commented May 14, 2024

If you have problems with the installation please use our community forum

What set up are you using

  • Cloud Hosted Version
  • Self Hosted

Describe the bug
Without PHPUnit installed, a large error 500 block half the screen

To Reproduce
Steps to reproduce the behavior:

  1. Install on a clean ubuntu server 22.04
  2. connect to leantime
  3. A large error 500 in the top right corner block usage of underneath componenets

Expected behavior
No error

Leantime Version
3.1.4

Server
nginx

Additional context
Logs show php stack trace of :

Error: Call to undefined function PHPUnit\Framework\throwException() in /opt/leantime/app/Domain/Notifications/Services/News.php:103

When installing phpunit via apt and restarting nginx, the error disapear.

phpunit should probably be listed in the required dependency of the repo readme install section

@remygrandin remygrandin changed the title [BUG] [BUG] Notification error 500 on clean install May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant