Title: PHP 8 &amp; 9
Last modified: August 23, 2024

---

# PHP 8 & 9

 *  Resolved [refinedigital](https://wordpress.org/support/users/refinedigital/)
 * (@refinedigital)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-8-9-2/)
 * Hi.
 * It would be great if you could update this plugin to be fully compatible with
   upcoming changes coming to PHP 9 with warnings from PHP 8.
   The deprecations are
   related to “Creation of dynamic property” in the following locations:
 * Creation of dynamic property IGFW::$failed_dependencies is deprecated in invoice-
   gateway-for-woocommerce/invoice-gateway-for-woocommerce.php on line 158
 * Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_MAIN_PLUGIN_FILE_PATH
   is deprecated in /invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php
   on line 53 and all other Class “CONSTANTS” on Line 54-63
 * Creation of dynamic property IGFW\Models\Gateways\IGFW_Invoice_Gateway::$instructions
   is deprecated in /invoice-gateway-for-woocommerce/Models/Gateways/IGFW_Invoice_Gateway.
   php on line 38 and all other variables on Line 39-40.
 * The fix is simple. Just declare the variables with the correct scope and your’re
   good!

The topic ‘PHP 8 & 9’ is closed to new replies.

 * ![](https://ps.w.org/wc-invoice-gateway/assets/icon-128x128.png?rev=3539985)
 * [Invoice Payment Gateway for WooCommerce](https://wordpress.org/plugins/wc-invoice-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-invoice-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-invoice-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-invoice-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-invoice-gateway/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [refinedigital](https://wordpress.org/support/users/refinedigital/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/php-8-9-2/)
 * Status: resolved