Make WordPress Core

Opened 5 years ago

Closed 3 years ago

#45860 closed defect (bug) (reported-upstream)

Error message when upload pdf file

Reported by: linhlbh's profile linhlbh Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.0.2
Component: Media Keywords:
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 5 years ago.

Download all attachments as: .zip

Change History (4)

#1 @joemcgill
5 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?

This ticket was mentioned in Slack in #core-media by antpb. View the logs.

3 years ago

#3 @antpb
3 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

This issue has been reported upstream and is being worked on in the Github issues list:

For that reason I am going to close this to eliminate the possibility of more than one person working on the same issue. I also have an idea of how to fix this so will be jumping in on the Gutenberg side to find a way to resolve it! :D thank you so much for your report. I've left a comment in the Github issue asking that you receive props when this is solved as you've helped us identify paths forward.

Thanks for your first ticket!

Note: See TracTickets for help on using tickets.