---
title: "Deprecation: #71249 - Deprecate render method of FlashMessage class"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-71249"
source: "Changelog/7.6/Deprecation-71249-DeprecateRenderMethodOfFlashMessageClass.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Deprecation: #71249 - Deprecate render method of FlashMessage class

See [forge#71249](https://forge.typo3.org/issues/71249)

## Description

Method `TYPO3CMSCoreMessagingFlashMessage::render()` has been marked as deprecated.

## Affected Installations

Instances with custom backend modules that use this method.

## Migration

Use custom render code, the `<f:flashMessage />` ViewHelper or the `ModuleTemplate` for backend modules to render FlashMessages.
It is suggested not to include HTML in flash messages. Flash messages should be short notifications on user interactions.
If you need more elaborate or persistent messages, use `<f:be.infobox />` view helper or HTML similar to that.
