Issue #2679867 by Wim Leers, mr.baileys: BigPipe causes PHP notices with JavaScript disabled on error pages (cherry picked from commit c6e1b960)