WordPress.org

Make WordPress Core

Opened 10 months ago

Last modified 10 months 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:
PR Number:

Description

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.
Image:
https://www.dropbox.com/s/g0o9wavjfds9bqk/Screenshot%20from%202019-01-08%2016-17-12.png?dl=0

Thanks

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

#1 @joemcgill
10 months 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.