PHP Warning
-
Hello,
I am on Ubuntu 16.04+Apache+php7.1-fpm:
FastCGI: server “/usr/lib/cgi-bin/php7-fcgi” stderr: PHP message: PHP Warning: A non-numeric value encountered in /var/www/domain.com/wp-content/plugins/dk-pdf/includes/mpdf60/mpdf.php on line 31965
Can you look into this?
Thank you.
-
Hi meken,
seems related to this (PROBLEM 3):
https://stackoverflow.com/questions/43994365/upgrade-to-php7-1-and-mpdf-show-error-a-non-numeric-value-encountered-at-lineand this:
https://github.com/mpdf/mpdf/issues/302I’ll take a look, thanks.
It seems complicated to me, I will await your fix, π
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/e36e22b13f801a43b00573524503adca065b92c8Thanks,
Emilisame 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 1519hope 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,
EmiliThank 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 1136Hi 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.4then in your WordPress site deactive/uninstall your current version and upload/activate this one.
Thanks,
EmiliThank 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, 6387Suggestion: 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.
Thank you!
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,
EmiliIt seems ok to me, thanks.
The topic ‘PHP Warning’ is closed to new replies.