Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #52568


Ignore:
Timestamp:
02/18/2021 02:07:51 PM (3 years ago)
Author:
johnbillion
Comment:

Thanks for the report @borjagq . Are you able to upload the PDF files somewhere and link to them here? As long as there's no sensitive information in them of course.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52568

    • Property Keywords reporter-feedback added
  • Ticket #52568 – Description

    initial v1  
    11When uploading certain PDF files -either through the media library or through the post editor- an error message appears saying "response is not a valid JSON response". In appearance, it seems like the file was not successfully uploaded, but once the page is refreshed the file appears in the library as if no error had occurred.
    22
    3 I have tried these problematic PDF files on several WordPress installations -all of them running WP 5.6.1- and the wrongful behavior happens in all of them. However, not all PDF files cause this issue. It seems to be some sort of error caused by these problematic PDFs in combination with Wordpress.
     3I have tried these problematic PDF files on several WordPress installations -all of them running WP 5.6.1- and the wrongful behavior happens in all of them. However, not all PDF files cause this issue. It seems to be some sort of error caused by these problematic PDFs in combination with WordPress.
    44
    55I have tried to revalidate these PDFs using Acrobat, but the error keeps appearing. This makes me believe that there's no problem with bad PDF formatting.