• Hi!

    When I click on generate “packing slip” on orders, I have PHP errors in my error.log like this:
    PHP message: PHP Warning: A non-numeric value encountered in /var/www/web/boutique/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/inline_renderer.cls.php on line 109
    PHP message: PHP Warning: A non-numeric value encountered in /var/www/web/boutique/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/inline_renderer.cls.php on line 109
    PHP message: PHP Warning: A non-numeric value encountered in /var/www/web/boutique/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/inline_renderer.cls.php on line 109

    PHP message: PHP Warning: A non-numeric value encountered in /var/www/clients/web/boutique/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/style.cls.php on line 1280
    PHP message: PHP Warning: A non-numeric value encountered in /var/www/clients/web/boutique/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/style.cls.php on line 1280

    When there is too much loop error, I have a 502 error and it is impossible to generate the file.
    Can you help me?

    I edited the files concerned, add an intval(); and its seem to be OK.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Thanks for reporting! I’m working on a new release (2.0) for this plugin which will incorporate the latest version of dompdf, which also has better PHP7.1 compatibility (which is what causes this warning). Since this will be released in a few weeks, I will not fix this in the current release.

    Ewout

    Thread Starter Micka?l Gris

    (@mgris)

    Thanks for the reactivity! Ok that’s great! I will wait the new release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP error: “A non-numeric value encountered”’ is closed to new replies.