1

You can add below code in your file at line no. 647 ,
you had forgot to define variable for $datasend,
$sendNewStr = '';
foreach ($send as $param=>$value) {
$sendNewStr .= $param . '=' . $value . "\r\n";
}
$datasend = '';
$datasend .= substr($sendNewStr, 5, -1);