October: Http.php: Array to string conversion

Created on 4 Mar 2019  路  5Comments  路  Source: octobercms/october

  • OctoberCMS Build: 448
  • PHP Version: 7.2

Description:

Clicking on Updates & Plugins > Install plugins throws exception: "Array to string conversion" on line 282 of C:\dev\web\www\icestudio\brancoreality\vendor\october\rain\src\Network\Http.php

Completed Bug

Most helpful comment

Hi @Rike-cz, known issue, just change - curl_setopt($curl, CURLOPT_POSTFIELDS, $this->requestData); -> curl_setopt($curl, CURLOPT_POSTFIELDS, $requestDataQuery);.
Trying to fix it ASAP.

All 5 comments

Hi @Rike-cz, known issue, just change - curl_setopt($curl, CURLOPT_POSTFIELDS, $this->requestData); -> curl_setopt($curl, CURLOPT_POSTFIELDS, $requestDataQuery);.
Trying to fix it ASAP.

Thanks @w20k, it helps!

This issue will be closed and archived in 3 days, as there has been no activity in the last 30 days. If this issue is still relevant or you would like to see action on it, please respond and we will get the ball rolling.

I believe https://github.com/octobercms/library/pull/431 will fix this issue.

Should be resolved by https://github.com/octobercms/library/pull/431. Please re-open if this is not the case.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SeekAndPwn picture SeekAndPwn  路  3Comments

axomat picture axomat  路  3Comments

m49n picture m49n  路  3Comments

mittultechnobrave picture mittultechnobrave  路  3Comments

sozonovalexey picture sozonovalexey  路  3Comments