That sounds like that there is a plugin throwing an error. Can you check your PHP error log if it says anything?
Wouldn’t it not work on both desktops and mobiles in case if some plugin would be throwing an error?
Should I check server PHP error log or?
So desktop is working and mobile is not working? Do I understand that correctly?
Yes, that is what I meant, none of the programs on mobile ‘recognize the format’
Have you ever tried downloading the PDF on your desktop. Sending that PDF via email and opening it on your phone? I am wondering if it is really a file issue itself or if I just need to modify which headers are getting send so mobile devices recognize it correctly as PDF.
Just tried that the way you described, still won’t open in Acrobat reader, saying “The document cannot be opened because it is not a valid PDF document”.
May as well mention, that it’s Android phone, Sony xperia Z1 compact.
Hmm that’s what I was afraid of. It might be a mpdf bug (the underlying php library that actual generates the PDF). So there is not really anything I can do at the moment. I am thinking of a rewrite of the plugin with the current major version of MPDF (they changed a lot which makes it impossible to just update the version for this plugin) but I am very busy at the moment so that is gonna take a while. But it might be worth a shot to ask at the mpdf support board if anything like this is know with version 5.7 (that is the version that is used in this plugin at the moment).