Not compatible with PHP 7.x.x
-
WordPress has made it clear that PHP 7 will be the norm in 2017. We manage several dozen sites and are slowly migrating them to PHP 7.1.2 when possible. The PHP Compatibility plugin (by WPEngine) shows that your WooCommerce PDF Invoices & Packing Slips plugin has the following warnings and the first one, “Using ‘break’ outside of a loop…’ would be a fatal error should we update one of those sites with your plugin to PHP 7.x.x.
Please let me know when you will be updating this plugin for PHP 7.x.x compatibility.
FILE: ../wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/table_frame_decorator.cls.php
————————————————————————————————————————————————————————–
FOUND 1 ERROR AFFECTING 1 LINE
————————————————————————————————————————————————————————–
181 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
————————————————————————————————————————————————————————–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
—————————————————————————————————————————————————————FILE: ../wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/lib/php-font-lib/index.php
———————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————————————————————-
1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
———————————————————————————————————————————————————————————-FILE: ../wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/index.php
———————————————————————————————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
———————————————————————————————————————————————————————————-
1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
———————————————————————————————————————————————————————————-
The topic ‘Not compatible with PHP 7.x.x’ is closed to new replies.