Viewing 2 replies - 1 through 2 (of 2 total)
  • I made the PR https://github.com/Dinamiko/dk-pdf/pull/94 and I kept my old solution updating the mpdf 7.0 https://github.com/wwwxkz/dk-pdf as I created another repo for this PR in https://github.com/wwwxkz/dk-pdf-fork. As said in the PR, although updating mpdf to 8.10 in composer.json works, it requires different PHP versions from dk-pdf, using 7.4 > worked fine for me, but I did not test for all of them.

    coholm

    (@coholm)

    Hi @wxkz thank you for your contribution.
    I get the following error when installing your version.
    Can you help?

    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type null in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Otl.php on line 5785
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Warning: Trying to access array offset on value of type bool in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php on line 12694
    
    Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/www/wordpress/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Image/Svg.php on line 1371
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fixes to work with old Mpdf vendedor’ is closed to new replies.