-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serialization of 'CURLFile' is not allowed #87
Comments
Confirmed on php 7.4 |
Hey guys, thanks for your reporting. I will take a look on it in the next days. |
Depending: mcustiel/phiremock-codeception-extension#42 (For PHP 8 Update) |
I will add a fix for this in the next version, which will also have PHP 8.0 Support. Meanwhile disable the debug mode in your
|
Version 1.5.0 with PHP 8 support was just released: https://github.com/linslin/Yii2-Curl/releases/tag/1.5.0 Thanks for your help! |
Hello! I am using this extension to post a file to and endpoint during a CraftCMS Hook. To do so, I use a CURLFile in my body.
Everything works well. However, when in development (i.e YII_DEBUG = true), I error with
Serialization of 'CURLFile' is not allowed
since the extension tries to serialize the CURLOPT_POSTFIELDS for debugging. I cannot redefine YII_DEBUG. Is there any way to opt out of debugging?The text was updated successfully, but these errors were encountered: