beuser_fastswitch icon indicating copy to clipboard operation
beuser_fastswitch copied to clipboard

Deprecation warning bricks ajax callback in Maintenance Module

Open helmutstrasser opened this issue 4 months ago • 0 comments

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().

helmutstrasser avatar Sep 05 '25 12:09 helmutstrasser