Skip to content

Deprecation warning bricks ajax callback in Maintenance Module #51

@helmutstrasser

Description

@helmutstrasser

If one flushes the cache in the backend module "Maintenance", the ajax callback answers with
<br /> <b>Deprecated</b>: JosefGlatz\BeuserFastswitch\Controller\BackendController::userLookupAction(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in <b>/var/www/html/vendor/josefglatz/beuser-fastswitch/Classes/Controller/BackendController.php</b> on line <b>52</b><br /> {"success":true,"status":[{"severity":0,"title":"Caches cleared","message":"Successfully cleared all caches and all available opcode caches.","storeInSession":false}]}

The second parameter $response can be removed anyway, because it is not used in the method userLookupAction().

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