• Hi, I’d like to use your DK PDF Generator plug-in with Learndash LMS plug-in, to export a single PDF from a set of pages. I downloaded your free version, as you suggested, and while it worked fine on a “regular” page, I got the following error when trying to make a PDF of a single Learndash Topic. I’d like to know if you think your plug-in will work with this learning management system and if you think DK PDF Generator will have the same error. Thanks

    Fatal error: Uncaught Mpdf\MpdfException: Invalid size representation “;margin-bottom:-12px” in —–.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/SizeConverter.php:35 Stack trace: #0 —–.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php(19700): Mpdf\SizeConverter->convert(‘;margin-bottom:…’, 180.00155555556, 4.2333333333333, false) #1
    —–.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Tag/BlockTag.php(385): Mpdf\Mpdf->setCSS(Array, ‘BLOCK’, ‘DIV’) #2 —–.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Tag.php(239): Mpdf\Tag\BlockTag->open(Array, Array, 101) #3 —–.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/Mpdf.php(15310): Mpdf\Tag->OpenTag(‘DIV’, Array, Array, 101) #4 —–.com/wp-content/plugins/dk-pdf/includes/dkpdf-functions.php(198): Mpdf\Mpdf->WriteHTML(‘ <div class=”dk…’) #5 —–.com/wp-includes/class-wp-h in —–.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/src/SizeConverter.php on line 35

The topic ‘Uncaught Mpdf\MpdfException’ is closed to new replies.