I'll just post this here and if its not the place I guess you'll let me know, and i'll wander back into the labyrinth that is Drupal proper. I'm loath to disturb the core gods so thought I might ask here.
My issue is as it has always been with Drupal since I started dragging sites through 4.7 to 5 to 6 to 7. I am a huge fan of Drupal of course, but one thing remains consistent throughout. Private Files. In the community sites I do , private files are essential, access control is essential. I'd think thats true of all sites really which are more than just giant advertisements. I'm building a site now because the community simply cant afford an actual 'real' developer , and i'm just a photographer with a dangerous love of drupal and friends in this community.
Here in Drupal 7 , the curse of "Array to string conversion in drupal_send_headers" hangs about for anything put into private storage , but now ( now finally getting the point of this post ) along with those php notices comes a real problem.
Google Chrome - the most used browser , has problems with private pdf files. I've reported this to google and that has no doubt disappeared into googles own labyrinth, but I cant help feel that those header notices are connected.
Chrome will show in browser the pdf if the pdf is in public storage fine. It displays the pdf language ( ewww) not the pdf if the pdf is in private storage. Safari and Edge download the file as expected. This happens in OSX and Windows 10 . Android and iOS are fine with everything. Interestingly enough on the local site in MAMP , everything is fine.
My own thought are that the header issue begins in the File module, or the file_entity module but I don't know. I'm certainly reading up and learning , but that doesn't help my present site. So. I'm asking here for some direction or some ideas.
Sorry about my rambling - a bad habit I'm told.