Issue Bug Closed

#95002Call to a member function sL() on null

Marc Finnern 08/26/21, 10:16 updated 02/19/22, 17:23

Description

Hi Team,
when i Use my upgrade-script in the update wizzard (TYPO3 => Backend => Update) i get this error:

Error-Message:
in /var/www/html/system/private/typo3/sysext/backend/Classes/Utility/BackendUtility.php line 1638

     */
    public static function getNoRecordTitle($prep = false)
    {
        $noTitle = '[' .
            htmlspecialchars(static::getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.no_title'))
            . ']';
        if ($prep) {
            $noTitle = '<em>' . $noTitle . '</em>';
        }

The same script on terminal works.
[OK] Successfully ran wizard Generiert tx_news => Article (Pages)

Best regards,
Marc

Reviews 0

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