TYPO3 Exception 1483890482

11.3-master - [Date of solution]

Situation

I got this error on defining a node when the title was missing from the language file:

class ImportDataControl extends AbstractNode
{
    public function render()
    {
        $result = [
            'iconIdentifier' => 'import-data',
            'title' => $GLOBALS['LANG']->sL('LLL:EXT:examples/Resources/Private/Language/locallang_db.xlf:pages.importData'),
            'linkAttributes' => [
                'class' => 'importData ',
                'data-id' => $this->data['databaseRow']['somefield']
            ],
            'requireJsModules' => ['TYPO3/CMS/Examples/ImportData'],
        ];
        return $result;
    }
}
Copied!

Solution

Add pages.importData to examples/Resources/Private/Language/locallang_db.xlf