Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.1
-
Component/s: None
-
Labels:None
Description
A customer attempted the price sync with the internet.bs module and received the error
Argument 2 passed to Internetbs::processResponse() must be an instance of InternetbsResponse, instance of stdClass given, called in /home/hostinpk/clients/components/modules/internetbs/internetbs.php on line 2394
To resolve, update components/modules/internetbs.php around line 2392 and change
$price_list = $command->getPriceList(['version' => 2]);
$response = $price_list->response();
$this->processResponse($api, $response);
To
$price_list = $command->getPriceList(['version' => 2]);
$this->processResponse($api, $price_list);
$response = $price_list->response();