#62239 closed defect (bug) (invalid)
Error: An error occurred in the upload. Please try again later. (when having odd characters in filename)
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | Upload | Keywords: | |
Focuses: | Cc: |
Description
When uploading with bonkers characters, to WP 6.7 beta 3, specifically this filename:
A text document Øblegrød! med mærkelige tegn æøå ÆØÅ #-🌻😂❤️👏.txt
I get this error: "An error occurred in the upload. Please try again later."
Screenshot attached.
The file DOES get uploaded though.
Uploading files with sane characters does not trigger this error.
Attachments (4)
Change History (8)
#1
@
9 months ago
Weird indeed.
I just uploaded a test.txt file, with no issues. After renaming to something silly, got the error.
@pratiklondhe are you able to upload a simply named txt file?
Make sure it contains something. Empty files can cause issues on some systems.
#2
@
9 months ago
hey @oldrup , I also tried uploading a normal image with these characters and it still uploads without issues, possible to get instructions on how this can be reproduced?
#3
@
9 months ago
- Resolution set to invalid
- Status changed from new to closed
Ah, @pratiklondhe — you're right!
I had the Activity Log plugin enabled to log, well, any activity and errors, and it seems that the logging itself caused the issue.
https://en-gb.wordpress.org/plugins/aryo-activity-log/
No issue with Activity Log disabled
I'll take this issue to them
Thank you for helping me to troubleshoot this one. Didn't expect my logging to be the actual cause of the problem. Will check without anything at all enabled next time. ;)
Closing
Screenshot of error