You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following PHP warning when uploading an image without a storage filter specified (set to false in config):
Warning: unlink(./uploads/profile-images/58): No such file or directory in ./vendor/hrevert/ht-profile-image/src/Service/ProfileImageService.php on line 79
I get the following PHP warning when uploading an image without a storage filter specified (set to false in config):
Warning: unlink(./uploads/profile-images/58): No such file or directory in ./vendor/hrevert/ht-profile-image/src/Service/ProfileImageService.php on line 79
Probably the reason is this:
https://github.com/hrevert/HtProfileImage/blob/master/src/Service/ProfileImageService.php#L68
Here the file is just being moved from the temp directory to the profile image folder, but:
https://github.com/hrevert/HtProfileImage/blob/master/src/Service/ProfileImageService.php#L79
Here the "old" temp file is being deleted regardless although it just got moved out of there.
The text was updated successfully, but these errors were encountered: