Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#45860 new defect (bug)

Error message when upload pdf file

Reported by: linhlbh Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.2
Component: Media Keywords: reporter-feedback
Focuses: Cc:


On the Gutenberg Blocks
It happens when I insert a pdf file to image block (Image -> Media Library -> Upload files -> Select a pdf file).
Next, I view post then it will appear error notice when I turn on debug.


Attachments (1)

Screenshot from 2019-01-08 16-17-12.png (646.2 KB) - added by linhlbh 2 years ago.

Download all attachments as: .zip

Change History (2)

#1 @joemcgill
2 years ago

  • Keywords reporter-feedback added

Hi @linhlbh, thanks for reporting this!

The image block doesn't support PDF uploads by default, so I'm not sure how to reproduce this bug. Can you tell me what browser you're using and if there are any other plugins or modifications on your site that might be affecting this?

Note: See TracTickets for help on using tickets.