Issue Bug Closed

#67933compatibility6 crashes TYPO3 BE

Franz Holzinger 07/06/15, 20:13 updated 10/02/18, 11:35

Description

The extension compatibility6 leads to an exception which blocks the TYPO3 backend and Install Tool.

Uncaught TYPO3 Exception
#1320585902: $hookObject must implement interface TYPO3\CMS\Core\Database\TableConfigurationPostProcessingHookInterface (More information)

UnexpectedValueException thrown in file
/var/www/html/developer/typo3_src-7.3.1/typo3/sysext/core/Classes/Core/Bootstrap.php in line 1048.

5 TYPO3\CMS\Core\Core\Bootstrap::runExtTablesPostProcessingHooks()

This is because the class name “TYPO3\CMS\Compatibility6\Hooks\ExtTablesPostProcessing\TcaMigration” cannot be found in the file Bootstrap.php.

getUserObj $class “TYPO3\CMS\Compatibility6\Hooks\ExtTablesPostProcessing\TcaMigration“does not exist

getUserObj says: $class “TYPO3\CMS\Compatibility6\Hooks\ExtTablesPostProcessing\TcaMigration” does not exist .

    /**
     * Check for registered ext tables hooks and run them
     *
     * @throws \UnexpectedValueException
     * @return void
     */
    protected function runExtTablesPostProcessingHooks() {
        if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'])) {
            foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['extTablesInclusion-PostProcessing'] as $classReference) {
                /** @var $hookObject \TYPO3\CMS\Core\Database\TableConfigurationPostProcessingHookInterface */
                $hookObject = Utility\GeneralUtility::getUserObj($classReference);

The $hookObject is always empty. Then an exception with the wrong message is given.
And the Backend has gone without any possibility to restore it.
I could not find the autoloader for the class of extension compatibility6. It seems to be missing.

Reviews 1