Gravity Forms Stripe Add-On PHP 8.2 compatibility [RESOLVED]

PHP Error using PHP 8.2
Since PHP 7.0, functions inspecting arguments, like func_get_args(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter “$method” was changed on line 198.
See File:
/gravityformsstripe/includes/stripe/stripe-php/lib/HttpClient/CurlClient.php

After checking this on other websites there is no problem. I suspect this is a conflict with another plugin OR the theme (in this case Beaver Builder). I welcome thoughts on this.

The site will be using an outdated version of the add-on. In version 5.5, released late February, the integration was updated to use the Stripe REST API instead of the outdated PHP SDK where that error is occurring. The latest version, released last month, is 5.7.

1 Like

Checked Version. I have version 5.7. The information provided is from Nexcess PHP compatibility check.

In that case, it is a false positive which you can ignore. The old SDK is still included in case it is required by third-party add-ons, but it is not used out of the box and will be removed in a future update. PHP compatibility scanners don’t take into account that there are files that might not be used.

1 Like

Great, Thanks!

1 Like