• Resolved Rodolfo Melogli

    (@businessbloomer)


    Hi there!

    I’m about to update my site to PHP 7.

    However, I get this error:

    FILE: /wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/page_cache.cls.php
    —————————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————————
    40 | WARNING | Method name “Page_Cache::__query” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    —————————————————————————————————————————————————

    Can you please provide a fix?

    Thank you,

    R

Viewing 2 replies - 1 through 2 (of 2 total)
  • Firelight

    (@mdc2957)

    Plugin doesn’t work with PHP 7? I’m already on 7, and was considering using this plugin on my site…

    Plugin Contributor Ewout

    (@pomegranate)

    Hi! No worries, the plugin is PHP7 compatible, this is just a warning that something might break in the future, but not an issue with the current PHP7 release. Many people are using this on PHP7 already without any issues. I’m working on a big update that will have a new version of the HTML to PDF conversion library too, which fixes this notice too.

    TLDR; just ignore the error 🙂

    Ewout

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 7 error’ is closed to new replies.