Skip to content

Fix deprecation warning on PHP 8.1 #378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Fix deprecation warning on PHP 8.1 #378

merged 1 commit into from
Nov 15, 2021

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Nov 14, 2021

Description:

WARNING [2021-11-14 21:41:56] 24835  /srv/matomo/plugins/TagManager/Context/WebContext/JavaScriptTagManagerLoader.php(73): Deprecated - str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated - Matomo 4.6.0-b4 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)

Happened while deactivating a plugin via console. The token_auth is null in that case

Review

Happened while deactivating a plugin via console. The token_auth is null in that case
@sgiehl sgiehl added this to the Current sprint milestone Nov 14, 2021
@tsteur tsteur merged commit 201f05f into 4.x-dev Nov 15, 2021
@tsteur tsteur deleted the php81fixes branch November 15, 2021 00:07
@innocraft-automation innocraft-automation removed this from the Current sprint milestone Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants