Title: Not compatible with PHP 7.x.x
Last modified: March 14, 2017

---

# Not compatible with PHP 7.x.x

 *  Resolved [Steve Borsch](https://wordpress.org/support/users/sborsch/)
 * (@sborsch)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/not-compatible-with-php-7-x-x-2/)
 * 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. ———————————————————————————————————————————————————————————-

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Ewout](https://wordpress.org/support/users/pomegranate/)
 * (@pomegranate)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/not-compatible-with-php-7-x-x-2/#post-8915664)
 * These are false positives: [https://wordpress.org/support/topic/php-7-compatability-4/](https://wordpress.org/support/topic/php-7-compatability-4/)
 * In other words: nothing to worry about 🙂

Viewing 1 replies (of 1 total)

The topic ‘Not compatible with PHP 7.x.x’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

## Tags

 * [PHP7](https://wordpress.org/support/topic-tag/php7/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ewout](https://wordpress.org/support/users/pomegranate/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/not-compatible-with-php-7-x-x-2/#post-8915664)
 * Status: resolved