---
title: "TYPO3 Exception 1218547409"
manual: "TYPO3 Exceptions"
version: "main"
permalink: "https://docs.typo3.org/permalink/t3exceptions:typo3-exception-1218547409"
source: "Exceptions/1218547409.rst"
modified: "2026-09-16T07:39:08+00:00"
---

# TYPO3 Exception 1218547409

> [!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).

## $className must implement interface `PageLayoutViewDrawItemHookInterface::class`

-   Try deleting all caches
-   Older versions: Try deleting all files in `typo3temp/autoload` through
    console.

`rm -rf typo3temp/autoload/*`

## Solution TYPO3 8.4.x and higher

> [!NOTE]
> Note that the `PageLayoutView` has changed a lot in newer TYPO3 versions,
> make sure to update your code accordingly.

The way registering the hook has changed in `ext_localconf.php`:

```
   // Prior TYPO3 8
   // $TYPO3_CONF_VARS['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem'][] = 'EXT:extensionkey/Classes/Hooks/PageLayoutViewDrawItemHook.php:&Vendor\\Extensionkey\\Hooks\\PageLayoutViewDrawItemHook';

::

   // TYPO3 8:
   $TYPO3_CONF_VARS['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem'][] = 'Vendor\\Extensionkey\\Hooks\\PageLayoutViewDrawItemHook';
```
