masmerise / livewire-toaster

Beautiful toast notifications for Laravel / Livewire.
MIT License
342 stars 22 forks source link

Toasts do not get passed to the frontend #46

Closed Enaah closed 3 weeks ago

Enaah commented 3 weeks ago

Hi there,

I'am really sorry to create to Issue with a very specific Bug, but I've dug through the source code, tried to understand at what place the toasts get lost but can't find a hint/solution.

This package was working at version 1.3.0 (with Laravel 10 and Livewire 2).
Since an update I've made to our codebase (Laravel 11 & Livewire 3) the package needs at least version 2.2.. And since then, there are no toasts passed to the frontend (I've used ray to debug and analyze the $toasts variable in the frontend).
I assume it has something to do with getting the toasts from the session or with the middleware, which is pushed in the ToasterServiceProvider.php.

Steps I've tried:

I know, that you can't solve this bug, but maybe you have an idea what the problem could be or what things I could test. Maybe there is a different mechanism how the toasts are distributed between the version 1.3.0 and 2.0.2.

Thanks for this great package and your work!

Cheers

Enaah commented 3 weeks ago

Switched to another package, no help needed here.

mabdullahsari commented 3 weeks ago

I was about to post a reply. Bummer!

Enaah commented 3 weeks ago

Sorry, you still can do and I would try it, because the other library does not has the faking ability. Yesterday I didn't find a good alternative.