#sangita_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1270643110539558963
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi team, I am reaching our from a plugin's team and we are using your library for our plugin. Now we are getting the following incompatibility error with the PHP 8.0 version " 202 | ERROR | 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. "
Hi, that looks like a pure PHP error. How does it relate to Stripe API?
But the error is coming from Stripe PHP library
Could you provide your code and where do you see the error?
A screenshot would be great help
You can check the code from here https://github.com/stripe/stripe-php/blob/master/lib/HttpClient/CurlClient.php. The error is coming from the line number 198 of the code.
Hmm I see. Which PHP version you are using?
8.0 and above
When are you seeing the error exactly?
actually when I am running the PHP compatibility checker plugin , the earlier shared error is coming
I am not that familiar with PHP. What does this plugin do exactly?
It actually checks the compatibility of the plugin/theme with different PHP versions
And is your app working with stripe-php without this checker?
everything is working fine , only the error is coming while checking with the PHP compatibility checker