New install VariantProduct error in front

Sylius\Bundle\ProductBundle\Form\Type\ProductVariantChoiceType::Sylius\Bundle\ProductBundle\Form\Type{closure}(): Return value must be of type string, null returned

this error when create VariantProduct fram AdminPanel. This is new installation Sylius, php8.