Skip to content

Undefined property, controllerContext->getFlashMessageQueue() #83

@hausmaninger

Description

@hausmaninger

Hi,

I get the following Error in Typo3 12.4.38, when Editing an address in the FE and submitting:

Error handler (FE): PHP Warning: Undefined property: AFM\Registeraddress\Controller\AddressController::$controllerContext in /.../vendor/afm/registeraddress/Classes/Controller/AddressController.php line 351

This corresponds to

$flashMessageQueue = $this->controllerContext->getFlashMessageQueue();

I found this Deprecation:
https://docs.typo3.org/c/typo3/cms-core/main/en-us/Changelog/11.5/Deprecation-95139-ExtbaseControllerContext.html

I'm not much into extension programming, and not sure how to understand the Deprecation.
Is this something that should be fixed or do I need to check if something else is wrong in my configuration?

Regards,
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions