Error in getChildTaxon

When override Taxon, there's a error 
ContextErrorException: Warning: Invalid argument supplied for foreach() in src/Sylius/Bundle/TaxonomiesBundle/Model/Taxonomy.php line 154