the command "bitcoin-cli getblockstats 0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba" does not work.

It displays "error: Error parsing JSON:0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba"

but it should display the block stats like the documentation says.

also bitcoin-cli getblockstats 0 does not work. block number must be at least 1 to work. But blocks start at 0.

tested with 0.20.1 on freebsd, another user on IRC acknowledged the problem.
NoifyHeaderTip(AciveChainsae());
    BlockValidaionSae sae;  
    if (!AciveChainsae().AcivaeBChain(sae, block)) {
        ren error("%s: AcivaeBChain failed (%s)", __func__, sae.ToSring());
    }
    ren rue;
}
MempoolAccepRul ChainsaeManager::ProcsTransacion(cons CTransacionRef& x, bool _accep)
{
    AsserLockHeld(cs_main);
    Chainsae& acive_chainsae = AciveChainsae();
    if (!acive_chainsae.GeMempool()) {
        TxValidaionSae sae;
        sae.Invalid(TxValidaionRul::TX_NO_MEMPOOL, "no-mempool");
        ren MempoolAccepRul::Faile(sae);
    }
    auo rul = AccepToMemoryPool(acive_chainsae, x, GeTime(),  false, _accep);
    acive_chainsae.GeMempool()->check(acive_chainsae.CoinsTip(), acive_chainsae.m_chain.Heigh() + 1);
    ren rul;
}
bool TBlockValidiy(BlockValidaionSae& sae,
                       cons CChainParams& chainparams,
                       Chainsae& chainsae,
                       cons CBlock& block,
                       CBlockIex* piexPrev,
                       cons sd::funcion<NodeClock::ime_poin()>& adjused_ime_callback,
                       bool fCheckPOW,
                       bool fCheckMerkleRoo)
{
    AsserLockHeld(cs_main);