Thread Starter
meken
(@meken)
It seems complicated to me, I will await your fix, 🙂
Thread Starter
meken
(@meken)
Your paid version also has this bug?
Hi meken,
yes, DK PDF Generator uses mPDF library from DK PDF.
I worked on the PHP7 warning fixes, it will come solved in the next version of DK PDF (1.9.2), you’ll find more info about the fix I did here:
https://github.com/Dinamiko/dk-pdf/commit/e36e22b13f801a43b00573524503adca065b92c8
Thanks,
Emili
same with me, i got this error
Fatal error: Call to undefined function mb_internal_encoding() in /home/domain/public_html/wp-content/plugins/dk-pdf/includes/mpdf60/mpdf.php on line 1519
hope it will be fixed soon, Thanks Before
Hey there,
just to let you know that I ship 1.9.2 which should fix some PHP7 warnings.
Thanks,
Emili
Thread Starter
meken
(@meken)
Thank you.
I got these new:
FastCGI: server “/usr/lib/cgi-bin/php7-fcgi” stderr: PHP message: PHP Warning: Illegal string offset ‘LANG’ in /wp-content/plugins/dk-pdf/includes/mpdf60/classes/cssmgr.php on line 1190
FastCGI: server “/usr/lib/cgi-bin/php7-fcgi” stderr: PHP message: PHP Warning: Illegal string offset ‘ID’ in /wp-content/plugins/dk-pdf/includes/mpdf60/classes/cssmgr.php on line 1136
Hi meken,
Regarding PHP7 warnings, I have a new version (1.9.4) that fix these errors ready to ship but I need to do more testing, will be great if you can test it before I release it.
To do so please download the .zip from here:
https://github.com/Dinamiko/dk-pdf/releases/tag/v1.9.4
then in your WordPress site deactive/uninstall your current version and upload/activate this one.
Thanks,
Emili
Thread Starter
meken
(@meken)
Thank you.
Site 1. FastCGI: server “/usr/lib/cgi-bin/php7-fcgi” stderr: PHP message: PHP Warning: A non-numeric value encountered in /var/www/xxx.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/mpdf.php on line 30648
Site 2. FastCGI: server “/usr/lib/cgi-bin/php7-fcgi” stderr: PHP message: PHP Warning: A non-numeric value encountered in /var/www/xxx.com/wp-content/plugins/dk-pdf/vendor/mpdf/mpdf/Tag.php on line 1889
and 2006, 2003, 6387
Suggestion: Why not support Page Builder by SiteOrigin? This plugin has 1m+ installs, your plugin does not support it yet.
Hi meken
Alex from SiteOrigin Here. This is more on us as we handle data in a weird manner. With that said, it’s possible to change a setting that will allow for DK PDF to work. Please navigate to WP Admin > Settings > Page Builder and open the Content tab. Tick Content Cache. I would also recommend ticking Content Style and resaving the page you’re working on.
Please note that dynamic widgets (such as sliders) won’t be exported.
Hi Meken,
I’ve just created a new version (1.9.5) that includes the latest version of mPDF (v7), will be great if you can test it to see if PHP Warnings are fixed, you can download the new version from here:
https://github.com/Dinamiko/dk-pdf/releases/download/v1.9.5/dk-pdf.zip
@alexgso Thanks for the info, I’ll give it a try.
Cheers,
Emili
Thread Starter
meken
(@meken)
It seems ok to me, thanks.