• Resolved thecrypto

    (@thecrypto)


    Invoice Gateway For Woocommerce v1.1.3

    In versions of PHP 8.2 and above dynamic properties are deprecated unless explicitly allowed via the AllowDynamicProperties, currently getting many deprecation errors in the debug log and it is filling it up real fast.

    PHP Deprecated: ?Creation of dynamic property IGFW\Helpers\Plugin_Constants::$_MAIN_PLUGIN_FILE_PATH is deprecated in /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/Helpers/Plugin_Constants.php on line 53
    PHP Deprecated: ?Creation of dynamic property IGFW\Models\Gateways\IGFW_Invoice_Gateway::$instructions is deprecated in /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/Models/Gateways/IGFW_Invoice_Gateway.php on line 38
    PHP Deprecated: ?Creation of dynamic property IGFW::$failed_dependencies is deprecated in /var/www/html/wp-content/plugins/invoice-gateway-for-woocommerce/invoice-gateway-for-woocommerce.php on line 158


    This occurs on all properties that are dynamically called within the plugin.

    Subsequently this is generating deprecation errors when preg_replace is called with null as a parameter to $subject.

    PHP Deprecated: ?preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-includes/kses.php on line 1805

    Can we please make sure all properties of the classes are defined else allow dynamic properties in all classes?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter thecrypto

    (@thecrypto)

    Sorry, I just realized I posted this in the incorrect plug-in support page, please ignore this ticket. I’ve re-raised it in the correct plug-in support page.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.