TYPO3 Exception 1166546734

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 section "Troubleshooting" of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms. (See How to get your TYPO3 Slack account.)

To add your experience, click "Edit on GitHub" above and follow the "Edit on GitHub" workflow. Also check out our tip on Coding Style and reST.

#1166546734 TYPO3CMSCorePackageExceptionUnknownPackageException

Reason 1:

  • Package does really not exist

Reason 2:

Extension Upload screen TER.png

  • CamelCaseConversion Problem with numbers

  • f.e. vendor_extension_2018 will be converted into VendorExtension2018 and converted back into vendor_extension2018

This will result in the following error message:

Package "vendor_extension2018" is not available. Please check if the package exists and that the package key is correct (package keys are case sensitive)

According to the hints in TER these kind of keys are invalid:

Reason 3:

1/1) #1166546734 TYPO3CMSCorePackageExceptionUnknownPackageException Package "" is not available. Please check if the package exists and that the package key is correct (package keys are case sensitive).

Happened on switching from LTS 9 to 10 as $_EXTKEY is no longer defined. Therefore I called:

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
     'VENDOR.' . $extensionKey,
     'Pi1',
     'LLL:EXT:...'
 );

With an empty $extensionKey