Error when integrating new API

error_log(“start1”);
error_log(strval( $create_payment_request));
error_log(“end1”);