PHP 8 & 9
-
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.