Hello everyone,
I am totally stuck with this problem.
DW2PDF version: both latest and one before latest (as of today)
DokuWiki 2023-04-04a "Jack Jackrum"
OS: FreeBSD 13.0-RELEASE-p12 amd64 *shared web server
HTTP Server: Apache /2.4.54
PHP 7.4.33 (module mode) *gdlibrary is enabled
I got following error message when creating a PDF file of a page in which a png image file embedded. (I changed the order of error messages.) I read three files mentioned in the error messages, but I just can't figure out what to do with these errors.
I would super appreciate if anyone could help me out.
Thank you!
--error msg starts---
Warning: imagecreatefromstring(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image in /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php on line 563
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/inc/httputils.php on line 30
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/inc/httputils.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/inc/httputils.php on line 103
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/inc/httputils.php on line 136
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/inc/httputils.php on line 157
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/action.php on line 570
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/action.php on line 571
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/action.php on line 572
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/action.php on line 579
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php:563) in /home/xxxxxxxx/www/html/dokuwiki/lib/plugins/dw2pdf/action.php on line 585
--error msg ends here---