-
Notifications
You must be signed in to change notification settings - Fork 327
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
Trying to access array offset on value of type int #143
Comments
+1 |
+1 since upgrade to php 7.4 |
I just createed a pull request for this one, If you use composer, you can add/change your composer.json with this :
and finally composer update |
Thank you so much. You're genius |
i got this error with php 7.4. Try to downgrade to 7.3 |
+1 |
if url have port in it , php will have this error
$url = "http://localhost:3000";
$response = Unirest\Request::get($url, $headers);
A PHP Error was encountered
Severity: Notice
Message: Trying to access array offset on value of type int
Filename: Unirest/Request.php
Line Number: 555
Backtrace:
File: /Users/jack/Documents/html/vendor/mashape/unirest-php/src/Unirest/Request.php
Line: 555
Function: _error_handler
File: /Users/jack/Documents/html/vendor/mashape/unirest-php/src/Unirest/Request.php
Line: 417
Function: encodeUrl
File: /Users/jack/Documents/html/vendor/mashape/unirest-php/src/Unirest/Request.php
Line: 236
Function: send
The text was updated successfully, but these errors were encountered: