thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.77k stars 2.67k forks source link

Alerts Not Working #5669

Closed ahmetsmc closed 2 years ago

ahmetsmc commented 2 years ago

Laravel version

9.18.0

PHP version

8.1.4

Voyager version

1.6.x-dev

Database

5.7.39

Description

I dont change any voyager settings but alerts not showing.

For example when the wrong password in login, successful message after create or other all alerts not showing.No this problem in different voyager project on same server. Why might this be happening?

Steps to reproduce

.

Expected behavior

.

Screenshots

No response

Additional context

No response

howdu commented 2 years ago
  1. Do alert messages work ok elsewhere? E.g saving a standard Voyager form.

  2. Have you upgraded from previous Laravel version? Check app/Http/Kernel.php that your $middlewareGroups contains StartSession::class AND ShareErrorsFromSession::class for 'web'.

  3. Try install laravel-debugbar to see if the session message is being added ok. https://github.com/barryvdh/laravel-debugbar

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.