unraid / webgui

Unraid Web UI
149 stars 71 forks source link

scripts/notify PHP Fatal error: Uncaught TypeError: #1659

Open JohnnyGrey86 opened 6 months ago

JohnnyGrey86 commented 6 months ago

Never noticed I had notifications being saved to flash. If I disable this, these errors stop.

This is showing in the phplog file every three seconds:

`[09-Mar-2024 21:02:42 America/Chicago] PHP Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/local/emhttp/plugins/dynamix/scripts/notify:236 Stack trace:

0 /usr/local/emhttp/plugins/dynamix/scripts/notify(236): date('m-d-Y H:i', '')

1 {main}

thrown in /usr/local/emhttp/plugins/dynamix/scripts/notify on line 236`

Luckystrike561 commented 3 days ago

I’m experiencing the same problem. After restoring from a fresh Unraid backup, the WebUI wasn’t accessible. I manually started Nginx, which brought the UI back up, but it prompted me to set a new password (likely due to the backup restore). After setting the password, I was redirected to Tools/registration and encountered the same error as @JohnnyGrey86.