[4.x]: Notification toaster appear with empty message with every admin panel login
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
I successfully migrated from Craft version 3 to 4. Now whenever I login to the admin panel, an error notification toaster appears with an empty message. I can use the admin panel normally, but this empty error notification appears consistently after every login.
Steps to reproduce
- Try to login to admin panel
- Observe empty error notification toast appearing after successful login
Expected behavior
No error notification should appear after a successful login.
Actual behavior
A red error notification toast appears after login with an error icon but no error message text. The notification is triggered but the message is empty.
Craft CMS version
4.15.2
PHP version
8.0.28
Operating system and version
Linux 5.4.0-204-generic
Database type and version
MySQL 8.0.26
Image driver and version
GD 8.0.28
Installed plugins and versions
Activity Logs 1.7.4
Entry Count 3.0.1
Feed Me 5.11.0
Redactor 3.1.0
Section + Product Type 2.0.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the successful Craft CMS 4.15.2 admin-panel login with the listed environment and installed plugins. The report names no source file or test, so trace the login flow and notification handling to identify why an empty error toast is emitted. Done means successful login no longer produces an empty error notification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100