Project

General

Profile

Actions

Bug #99267

closed

Call to a member function getOption() on null in TYPO3 12.0.0

Added by Alex Kellner over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-12-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I'm not sure if I missed a breaking change to define a TypeNum with an extbase action, but opening the frontend with the defined TypeNum leads to

Call to a member function getOption() on null
in .../vendor/typo3/cms-backend/Classes/View/BackendViewFactory.php line 59

The definition in TypoScript is:

luxletterPreviewNewsletter = PAGE
luxletterPreviewNewsletter {
  typeNum = 1560777975
  config {
    disableAllHeaderCode = 1
    disablePrefixComment = 1
    xhtml_cleaning = 0
    admPanel = 0
    debug = 0
  }

  10 = USER_INT
  10 {
    userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
    extensionName = Luxletter
    pluginName = Fe
    vendorName = In2code
    controller = Frontend
    action = preview
    switchableControllerActions.Frontend.1 = preview
    features.requireCHashArgumentForActionArguments = 0
  }
}

There is no difference if I define the typeNum in site configuration or if I simply add &type=1560777975
Any hints what's missing?

Actions

Also available in: Atom PDF