-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Broadcasting issue in 10.21.0 #48242
Comments
Seem to be related to #48136 |
Hey there, thanks for reporting this issue. We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue. Thanks! |
I think the issue you're describing is that the event name has changed, right @AnourValar ? |
@cosmastech , yes... exactly. Frontend side just ignores the renamed event (laravel-echo). |
Hey there, thanks for reporting this issue. We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as one separate commit on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
Do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue. Thanks! |
I've sent in a revert for this one: #48289 |
Hey there, v10.21.1 with the relevant changes has been released, please try again and open up a new issue if you're still experiencing this problem. |
Laravel Version
10.21.0
PHP Version
8.2.5
Database Driver & Version
No response
Description
Broadcasting stopped working in the last version of Laravel
Steps To Reproduce
The reason - the contract in WS messages was changed:
10.21.0 // NOT WORKING
{"event":"App\Notifications\UserNotification\MyNotification","channel":"private-App.User.1","data":"..."}
10.20.0 // WORKING
{"event":"Illuminate\Notifications\Events\BroadcastNotificationCreated","channel":"private-App.User.1","data":"..."}
The text was updated successfully, but these errors were encountered: