flatpress icon indicating copy to clipboard operation
flatpress copied to clipboard

Uploader: Error messages when uploading forbidden file types

Open azett opened this issue 2 years ago • 1 comments

As reported by laborix on the forum:

With Flatpress 1.2.1 the following PHP warning can occur when uploading files: PHP Warning: Undefined array key "uploaded_files" in .../fp-content/cache/e93fccb09cf8b04111b9595da102f3f4^%%9D^9D6^9D6FBCCD%%default.php on line 21 This error occurs when non-permitted files (Flatpress Uploader Blacklist) or incorrect Mime_Types of files are detected when uploading to Flatpress. There are two possible solutions to eliminate this uploader warning.

Needs to be inspected and fixed - thanks for reporting! :)

azett avatar Jun 18 '22 19:06 azett

Current status:

  • [x] error on uploading blacklisted files
  • [ ] error on uploading files with incorrect mime type

azett avatar Jun 19 '22 10:06 azett