TYPO3 Exception 1218547409¶
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 section “Troubleshooting” of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms.
$className must implement interface
- Try deleting all caches
- Older versions: Try deleting all files in
rm -rf typo3temp/autoload/*
Solution TYPO3 8.4.x and higher¶
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
// 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';