[Solved!] Solution for Class 'Piwik_Plugin' not found in piwik/plugins/DoNotTrack/DoNotTrack.php

If you have this warning:


Class 'Piwik_Plugin' not found in piwik/plugins/DoNotTrack/DoNotTrack.php

To solve this, replace your file core/Plugin/Manager.php by this one:
https://raw2.github.com/piwik/piwik/master/core/Plugin/Manager.php

Well, it is not working foe me

Same issue here. I’ve replaced Manager.php however the error message still shows up.

First make sure you try again, I have commited another fix to this file!

Replace the file by : https://raw2.github.com/piwik/piwik/master/core/Plugin/Manager.php (updated recently)

If still not working, at the top of plugins/DoNotTrack/DoNotTrack.php can you add:


debug_print_backtrace();

Then, please post the output in pastebin.com. I will do my best to fix the issue with the error message!

I’ve replaced the core/Plugin/Manager.php. The Error message still shows up.

There is no DoNotTrack.php in the directory plugins/DoNotTrack. This files has been removed by Piwik 2.0.3.

[quote=matt]
First make sure you try again, I have commited another fix to this file!

Replace the file by : https://raw2.github.com/piwik/piwik/master/core/Plugin/Manager.php (updated recently)

If still not working, at the top of plugins/DoNotTrack/DoNotTrack.php can you add:


debug_print_backtrace();

Then, please post the output in pastebin.com. I will do my best to fix the issue with the error message![/quote]
This does not seem possible as, during the upgrade to 2.0.3, plugins/DoNotTrack is deleted.

what errors do you get exactly?

Solved it on my end. Copied the config file to a save location. Deleted the entire piwiki directory and unpacked the the latest zip file. Copied the config file back and then it works.

!!! The Upgrade Process had already modified the Database for the newsest version !!!

replacing manager.php worked for me, thanks.

I would like to replace the Maneger.php as I face the same problem with

Fatal error: Class ‘Piwik_Plugin’ not found

But the linked Git-Repository does not exist

https://raw2.github.com/piwik/piwik/master/core/Plugin/Manager.php

This is what I get:

404

There isn’t a GitHub Page here.

Are you trying to publish one? It may take up to ten minutes until your page is available.

Read the full documentation to learn how to set up GitHub Pages
for your repository, organization, or user account.
Contact Support — GitHub Status — @githubstatus

Any solutions?

Found a solution.

This fixed the problem:

http://www.news.rainerneumann.de/2014/09/01/piwik-plugins-exampleui/