Issue Bug Closed

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

Alex Kellner 12/04/22, 20:03 updated 12/21/22, 08:09

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?

Reviews 0

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