Skip to content
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

Error in PiwikTracker.php after Upgrade of PHP to 8.0 #20212

Closed
ReinerKissel opened this issue Jan 13, 2023 · 2 comments
Closed

Error in PiwikTracker.php after Upgrade of PHP to 8.0 #20212

ReinerKissel opened this issue Jan 13, 2023 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@ReinerKissel
Copy link

Migration PHP to 8.0 creates an error in Matomo script PiwikTracker.php :
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /mnt/web206/c1/71/552871/htdocs/_efg-neuhofen_de_test/wp-content/plugins/matomo-tracker/inc/frontend/PiwikTracker.php on line 519

The error can be fixed by replacing the "{" and "}" with "[" and "]".

@ReinerKissel ReinerKissel added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jan 13, 2023
@Findus23
Copy link
Member

Hi,

I think that code is part of this Wordpress plugin:
https://wordpress.org/plugins/matomo-tracker/

Which is not maintained by the Matomo-Team and not maintained at all for many years.

@bx80
Copy link
Contributor

bx80 commented Jan 15, 2023

Hi @ReinerKissel, thanks for reaching out. As @Findus23 noticed, this error is in an old third-party plugin that is no longer maintained so this issue is unlikely to ever be fixed. I'd recommend checking out the official Matomo WordPress plugin https://wordpress.org/plugins/matomo/ which supports all the latest features and is regularly updated.

@bx80 bx80 closed this as completed Jan 15, 2023
@bx80 bx80 added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants