[TYPO3-german] TYPO3 6.2.4 No extensionKey set in addPlugin().
David Gurk
dgurk at medienwerft.de
Wed Jul 9 09:08:52 CEST 2014
Hallo Leute,
was ist den da passiert? Nach dem Update von TYPO3 CMS 6.2.3 auf 6.2.4 erscheint nun nur noch die Meldung:
No extensionKey set in addPlugin(). Provide it as third Parameter
Diese Funktion nutze ich meistens, um so neue Inhaltselemente anzulegen:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
array(
'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang_db.xlf:ce.example',
'example',
// icon,
),
'CType'
);
Um Core ist folgendes definiert:
...
function addPlugin($itemArray, $type = 'list_type', $extensionKey = NULL) {
$extensionKey = $extensionKey ?: $GLOBALS['_EXTKEY'];
if (!isset($extensionKey)) {
throw new \RuntimeException('No extensionKey set in addPlugin(). Provide it as third Parameter', 1404068038);
}
...
}
...
Nun ist es so, dass auch andere Extensions (z.B. formhandler, solr, pagebrowse diese Funktion verwenden.
Läuft hier eventuell irgendetwas anderes komplett schief?
Hat jemand die selbe Erfahrung gemacht?
More information about the TYPO3-german
mailing list