Hi, I’ve updated to 3.9 and I get an error when I try to upload a profile Pic:
Undefined variable $id
I have all the Uuid’s generated, deleted the media
folder and updated my .htaccess
with:
SetEnvIf Authorization "(.+)" HTTP_AUTHORIZATION=$1
Anyone has an idea of what’s happening?
Thank you so much.
texnixe
January 24, 2023, 12:36pm
2
isaactopo:
Undefined variable $id
Is there more information in your console or your php error logs?
It’s this:
If you need more info, please, tell me.
texnixe
January 24, 2023, 11:15pm
4
Hm, I’m actually getting the same error with 3.9.0, downgraded to 3.8.4 and all good. But in your example, the URL looks good, while in my test, the user id was actually missing from the route. Seems to be a regression.
opened 11:15PM - 24 Jan 23 UTC
## Description
When trying to upload an image to a user account, an error messa… ge Undefined variable $id is shown.
**Expected behavior**
The user avatar should be uploaded without error.
## To reproduce
1. Go to 'user account'
2. Click on avatar
3. Select an image to upload
4. See error
## Your setup
**Kirby Version**
Kirby 3.9.0
When downgrading to 3.8.4, the error doesn't appear.
**Console output**
See https://forum.getkirby.com/t/user-profile-pic-error-undefined-variable-id/27673/3
1 Like
Thank you @texnixe looking forward to 3.9.1!