Issue Bug Closed

#45588Fatal error: Class '\FE_loadDBGroup' not found in /typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4158

Thomas Deinhamer 02/19/13, 00:28 updated 10/23/17, 22:01

Description

When using an ‘insert records’ content element on a page I get the mentioned error:

Fatal error: Class '\FE_loadDBGroup' not found in .../typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 4158

The missing class is in the file class.tslib_pagegen.php and is called
in the class \TYPO3\CMS\Frontend\ContentObject\RecordsContentObject on line 63:

$loadDB = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('FE_loadDBGroup');

There seems to be a second call in class \TYPO3\CMS\Frontend\ContentObject\Menu\AbstractMenuContentObject on line 500:

$loadDB = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('FE_loadDBGroup');

Should this class also be namespaced and called like that?

$loadDB = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('\TYPO3\CMS\Frontend\Page\...');

Thanks!

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.