I think the flash name block should be the same here.... :  ``{% block sonata_flash_messages %}``