---
title: "TYPO3 Exception 1442236317"
manual: "TYPO3 Exceptions"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3exceptions:typo3-exception-1442236317"
source: "Exceptions/1442236317.rst"
rendered: "2026-10-02T18:04:37+00:00"
---

# TYPO3 Exception 1442236317 {#typo3-exception-1442236317}

> [!NOTE]
> Below, the TYPO3 community may have provided additional information or
> solutions for this exception. However, these may or may not apply to your
> particular case. If you can provide more information, you should come back
> here and add your experience and solution steps to this issue once you have
> resolved it.
>
> General TYPO3 troubleshooting tips can be found in the *Troubleshooting*
> section in the menu. You can also ask questions and receive support in the
> [TYPO3 Questions category on talk.typo3.org](https://talk.typo3.org/c/typo3-questions/).
>
> To add your experience, click "Edit on GitHub" above and follow the
> ["Edit on GitHub" workflow](https://docs.typo3.org/m/typo3/docs-how-to-document/main/en-us/Howto/EditOnGithub.html#docs-contribute-github-method).
> Also check out
> [our tip on Coding Style and reST](https://docs.typo3.org/permalink/t3exceptions:tip-about-rest-coding-style).

## TYPO3 13.4 {#typo3-13-4}

**Exception Message**

```php
(1/1) #1442236317 InvalidArgumentException

MenuItem "" is not valid
in /var/www/html/vendor/typo3/cms-backend/Classes/Template/Components/Menu/Menu.php line 92
```

### Situation {#situation}

This exception appears when creating a backend module with submodules and you have no title for submodule, i.e.:

-   wrong translation key/path in **\<ext>/Configuration/Backend/Modules.php** for submodule title
-   translation key doesn't exists in translation file
-   language cache has not been cleared (clear all cache)

### Solution {#solution}

Check all submodules titles and clear all cache.

## TYPO3 12.4.17 - 29.07.2024 {#typo3-12-4-17-29-07-2024}

```plaintext
caption: Exception Message

MenuItem "" is not valid
```

### Situation {#situation-1}

Right after an update from TYPO3 11 to 12. Forgot to clear the cache

### Solution {#solution-1}

Clear all caches from install tool or console

## TYPO3 12.4.14 - 17.05.2024 {#typo3-12-4-14-17-05-2024}

```plaintext
caption: Exception Message

MenuItem "Liste" is not valid
```

### Situation {#situation-2}

Trying to add a menu Item to the menu in a custom backend module:

**EXT:my_extension/Classes/Controller/MyModuleController.php**

```php
$menu = $moduleTemplate->getDocHeaderComponent()->getMenuRegistry()->makeMenu();

 $menuItem = $menu->makeMenuItem()
    ->setTitle($menuItemConfig['label'])
    ->setHref($this->uriBuilder->reset()->uriFor($menuItemConfig['action'], [], $menuItemConfig['controller']))
    ->setActive($isActive);
$menu->addMenuItem($menuItem);
```

This exception is thrown when the title or the href of the menuitem are empty. In this case the UriBuilder
returned an emptry result, therefore the Href was empty.

One possible reason for Href being empty: the action is missing in Configuration/Backend/Modules.php -> 'ControllerActions'

### Solution {#solution-2}

Fix the href generation.
