---
title: "Deprecation: #94351 - ext:extbase StopActionException"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-94351"
source: "Changelog/11.3/Deprecation-94351-ExtextbaseStopActionException.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Deprecation: #94351 - ext:extbase StopActionException

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

## Description

To further prepare towards clean PSR-7 request / response handling in
Extbase, the Extbase internal exception
`\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException`
has been deprecated.

## Impact

No deprecation is logged, but the `StopActionException` will be
removed in v12 as breaking change. Extension developers with Extbase
based controllers can prepare in v11 towards this.

## Affected Installations

Extensions with Extbase controllers that throw `StopActionException` or
use methods `redirect` or `redirectToUri` from Extbase
`\TYPO3\CMS\Extbase\Mvc\Controller\ActionController`
are affected.

## Migration

As a goal, Extbase actions will *always* return a
`\Psr\Http\Message\ResponseInterface`
in v12. v11 prepares towards this, but still throws the `StopActionException`
in `redirectToUri`. Developers should prepare towards this.

Example before:

```php
public function fooAction()
{
   $this->redirect('otherAction');
}
```

Example compatible with v10, v11 and v12 - IDE's and static code analyzers
may complain in v10 and v11, though:

```php
public function fooAction(): ResponseInterface
{
   // A return is added!
   return $this->redirect('otherAction');
}
```
