Import Error with ZIP and PDF Files
-
Media Sync Version: 1.2.3
WordPress Version: 5.5.1Uploading image files works correctly without issue. When trying to upload PDF or ZIP files, the files will upload but an alert will prevent the task from finishing on the page:
Console Error (url redacted):
[Media Sync][Import]: Attachment metadata could not be generated from /var/www/website.com/wp-content/uploads/temp/test.zip {“guid”:”https:\/\/www.website.com\/wp-content\/uploads\/temp\/test.zip”,”post_mime_type”:”application\/zip”,”post_title”:”test”,”post_content”:””,”post_status”:”inherit”} (in ajax_script.js?ver=1.2.3:72)
This causes a headache when trying to sync multiple PDF or ZIP Files since we have to now sync one at a time and ignore the error.
Is there a way we can exclude MIME types from metadata generation?
Thanks!
- The topic ‘Import Error with ZIP and PDF Files’ is closed to new replies.