Skip to content

Error 500 when click on "Test Telegram Channel" #1129

@garanda21

Description

@garanda21

Describe the bug
Error 500 when click on "Test Telegram Channel"

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Notifications'
  2. Click on 'Enable telegram notifications'
  3. Add new recipient
  4. Save
  5. Click 'Test Telegram Channel'

Expected behavior
Send a test notification.

Environment (please complete the following information):

  • OS: Synology Docker
  • Architecture: [e.g. arm64, amd64]
  • Browser Safari
  • Version 0.15.3

Screenshots
image

Logs

production.ERROR: Too few arguments to function App\Notifications\Telegram\TestNotification::__construct(), 0 passed in /var/www/html/app/Actions/Notifications/SendTelegramTestNotification.php on line 27 and exactly 1 expected {"userId":1,"exception":"[object] (ArgumentCountError(code: 0): Too few arguments to function App\\Notifications\\Telegram\\TestNotification::__construct(), 0 passed in /var/www/html/app/Actions/Notifications/SendTelegramTestNotification.php on line 27 and exactly 1 expected at /var/www/html/app/Notifications/Telegram/TestNotification.php:22)

Additional context
Notifications works perfect on schedule, the 500 error only occurs on Test Channel

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions