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 #1

Updated by Marc Finnern about 3 years ago

  • PHP Version set to 7.4
  • Tags set to Updatewizzard
Actions #2

Updated by Benni Mack about 3 years ago

  • Status changed from New to Needs Feedback

Hey Marc,

is this related to EXT:news? Or a custom upgrade wizard?

Actions #3

Updated by Christian Kuhn almost 3 years ago

  • Status changed from Needs Feedback to Closed

hey. i hope it's ok to close here: this seems to be related to ext:news, there is nothing core can do about this.

Actions

Also available in: Atom PDF