TwoFactorAuth: Deprecated - str_replace() on PHP 8.1.9

Hi!

WARNING: /plugins/TwoFactorAuth/TwoFactorAuth.php(255): Deprecated - str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated - Matomo 4.11.0 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) (Module: Proxy, Action: getNonCoreJs, In CLI mode: false)

I don‘t think, I have to add more. The error message is pretty self-explanatory :sweat_smile:

Best regards!

Hi @Promatur
As this seems to be a bug, can you create an issue at:

Link to your issue:

1 Like