Project

General

Profile

Actions

Bug #95002

closed

Call to a member function sL() on null

Added by Marc Finnern about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2021-08-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Updatewizzard
Complexity:
Is Regression:
Sprint Focus:

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


Files

Actions

Also available in: Atom PDF