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

Class 'Piwik_Plugin' not found in \piwik\plugins\DoNotTrack\DoNotTrack.php 20 using PHP 7.2.5 #13521

Closed
mrotondi opened this issue Oct 2, 2018 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@mrotondi
Copy link

mrotondi commented Oct 2, 2018

i got this error during motomo upgrade

@mrotondi mrotondi changed the title Class 'Piwik_Plugin' not found in C:\xampp\htdocs\www.beaepartners.it\piwik\plugins\DoNotTrack\DoNotTrack.php 20 using PHP 7.2.5 Class 'Piwik_Plugin' not found in \piwik\plugins\DoNotTrack\DoNotTrack.php 20 using PHP 7.2.5 Oct 2, 2018
@Findus23
Copy link
Member

Findus23 commented Oct 2, 2018

Hi,

Can you check if all files are there or maybe replace them with the latest Matomo version?

BTW: XAMPP is only intended for development and should not be used for public websites as it has really insecure defaults.

@mrotondi
Copy link
Author

mrotondi commented Oct 2, 2018

Hi,
im only testing the upgrade on the local copy of the website its not for production scope, i replaced all files manually to the latest version downloaded today morning.

tnx

@tsteur
Copy link
Member

tsteur commented Oct 2, 2018

From what Piwik/Matomo version did you upgrade? Sounds like you updated maybe from a 1.X or 2.X version and the plugin DoNotTrack is not compatible? You can disable this plugin in your config/config.ini.php by removing the line Plugins[] = DoNotTrack

@tsteur tsteur closed this as completed Oct 2, 2018
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Oct 2, 2018
@mrotondi
Copy link
Author

mrotondi commented Oct 3, 2018

I removed the line PluginsInstalled[] = "DoNotTrack" from my config/config.ini.php file but i got again the error:

The following error just broke Matomo (v3.6.0):
Class 'Piwik_Plugin' not found in C:\xampp\htdocs\www.beaepartners.it\piwik\plugins\DoNotTrack\DoNotTrack.php line 20

im upgrading from version 2.x

tnx

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