• Hi,

    I am using Offload Media to move the data between the local filesystem and an s3 bucket and, for some reason, this is what I get in the logs for some pdf files:

    Tue Jun 07 19:59:07.256998 2022] [php7:notice] [pid 282] [clie │
    │ nt 100.60.20.119:40064] AS3CF: Error offloading /var/www/html/uploads/for │
    │ midable/18/XXXXXXXXX.pdf to provider: F │
    │ ound 1 error while validating the input provided for the PutObject operat │
    │ ion:\n[ContentType] must be a string or an object that implements __toStr │
    │ ing(). Found bool(false), referer: XXXXXXXXX

    Does it have something to do with the fact that are files uploaded through formidable?

    If not, can somebody help me out?

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Plugin Author Delicious Brains

    (@deliciousbrains)

    While a bit cryptic, that kind of error usually means that WordPress can’t supply Mime Type information for the Media Library item.

    It may be that Formidable isn’t setting a Mime Type for the PDF that WordPress understands.

    You might need to ask Formidable support about that if you’re not able to debug the Mime Type setup yourself.

    -IJ

Viewing 1 replies (of 1 total)
  • The topic ‘Offload Media not uploading some pdf files’ is closed to new replies.