Skip to content

[Question] Call to undefined function App\Actions\Notifications\fake() #2275

@ErikMartensson

Description

@ErikMartensson

Pre-work

  • I have read the docs.
  • I have searched open and closed issues.
  • I agree to follow this project's Code of Conduct.

Description

I tried setting up a webhook notification, but when testing the notification I got a 500 error.
After setting the environment variable APP_DEBUG=true I can see that there's a PHP error causing this.

Call to undefined function App\Actions\Notifications\fake()

Image

It doesn't seem to matter what the triggers for the webhook notifications are, it fails on the same line of code in either case.

I'm running in Docker using the latest image of lscr.io/linuxserver/speedtest-tracker:latest with app version 1.6.3.

Expected Behavior

The webhook should receive a test notification.

Steps to Reproduce

  1. Go to "Notifications" page
  2. Enable the "Enable webhook notifications" toggle
  3. Click "Add to recipients" button
  4. Enter any text in the Url field (I did use a real URL as well)
  5. Click "Test webhook channel" button

Deployment Environment

Other

Application Information

{"environment":{"application_name":"Speedtest Tracker","laravel_version":"12.18.0","php_version":"8.4.10","composer_version":"2.8.9","environment":"production","debug_mode":true,"url":"localhost","maintenance_mode":false,"timezone":"UTC","locale":"en"},"cache":{"config":true,"events":true,"routes":true,"views":true},"drivers":{"broadcasting":"null","cache":"database","database":"sqlite","logs":"stderr","mail":"smtp","queue":"database","session":"database"},"storage":{"\/app\/www\/public\/storage":false},"filament":{"version":"v3.3.21","packages":"filament, forms, notifications, support, tables","views":"NOT PUBLISHED","blade_icons":"CACHED","panel_components":"CACHED"},"livewire":{"livewire":"v3.6.3"},"speedtest_tracker":{"version":"v1.6.3"}}

What browser(s) are you seeing the problem on?

Firefox

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions