pnp4nagios
pnp4nagios copied to clipboard
ubuntu 20.04 php7.4 pdf not working
Changes made for pnp4nagios with php 7.4
I change the content of /pnp4nagios/share/application/vendor/fpdf/fpdi_pdf_parser.php with https://raw.githubusercontent.com/rguedes/PDFMerger/master/Classes/fpdi/fpdi_pdf_parser.php
and (from vegago commented on 24 Jan 2019) vi pnp4nagios/share/applicagion/vendor/fpdi.php 2.modify the php code FROM: while (list($k, $v) = each($value[1])) { $this->_straightOut($k . ' '); $this->_writeValue($v); } TO: foreach ($value[1] as $k => $v) { $this->_straightOut($k . ' '); $this->_writeValue($v); }
no, it work