Me too, it seems like what @gzingh suggested fixed the issue.
For those of you having the same issue, changed from /includes/api/class-endpoint-api.php line from 242 to this seems fixed the issue.
// force evaluate the result
$result = json_decode(wp_json_encode($result));
$data = array(
‘data’ => $result,
‘headers’ => $this->response_headers,
);
\WP_Rest_Cache_Plugin\Includes\Caching\Caching::get_instance()->set_cache( $this->cache_key, $data, ‘endpoint’, $this->request_uri, ”, $this->request_headers );
return $result;
}
Suggest the developer look at this.