diff --git a/includes/Services/PluginUpgrader.php b/includes/Services/PluginUpgrader.php index 7ddfe6a..58c079a 100644 --- a/includes/Services/PluginUpgrader.php +++ b/includes/Services/PluginUpgrader.php @@ -99,7 +99,8 @@ public static function upgrade_extended_yith_plugin( $extended_slug ) { } // Provision a license for the premium version of the plugin - $license_response = PLSUtility::provision_license( $premium_slug ); + $pls_utility = new PLSUtility(); + $license_response = $pls_utility->provision_license( $premium_slug, 'yith' ); if ( is_wp_error( $license_response ) ) { $upgrade_status['message'] = __( 'Failed to provision license for: ', 'wp-module-installer' ) . $premium_slug; return $upgrade_status;