Xhprof tests the yii2 project and returns "N;" in the report.

Test the yii2 project with xhprof, and use the httpclient request interface between the xhprof_enable () function and the xhprof_disable () function to return a report with only "N;" in the report display page, and any other place that does not use httpclient returns normal. How can I troubleshoot the error?

Code reported as "N;":

        xhprof_enable(XHPROF_FLAGS_NO_BUILTINS);
        $client = new Client();
        $response = $client->createRequest()
            ->setMethod("get")
            ->setUrl(\Yii::$app->params["api"]["cms"] . "/nav/lists")
            ->setData($navdata)
            ->send();

        $xhprof_data = xhprof_disable();
        include_once "../utils/xhprof_lib.php";
        include_once "../utils/xhprof_runs.php";
        $xhprof_runs = new \XHProfRuns_Default();
        $run_id = $xhprof_runs->save_run($xhprof_data, "dfadf");
        //xhprof_log"N;" 

report normal code:

        function add($a, $b){
            return $a + $b;
        }
        xhprof_enable(XHPROF_FLAGS_NO_BUILTINS);
        add(1, 3);
        $xhprof_data = xhprof_disable();
        include_once "../utils/xhprof_lib.php";
        include_once "../utils/xhprof_runs.php";
        $xhprof_runs = new \XHProfRuns_Default();
        $run_id = $xhprof_runs->save_run($xhprof_data, "dfadf");
        //xhprof_log"a:1:{s:6:"main()";a:2:{s:2:"ct";i:1;s:2:"wt";i:8;}}" 
Mar.28,2021
Menu