Possible bug in piwik 2.04 - plugins management not working

Hi guys,

I noticed that today the 2.04 version was released (minutes ago, in fact),so congratulations for this achieved milestone! I upgraded my development server to see what has been added. I made an automatically update which was done without error but when I accessed the admin area and almost all items under “Platform” menu are not working for me.

Both the Plugin and Theme links, when clicked generates an http 500 error due to “PHP Fatal error: Class ‘Piwik_Plugin’ not found in /var/www/piwik/plugins/ExampleAPI/ExampleAPI.php on line 18”.

I Also noticed several messages in my error.log for “PHP message: PHP Fatal error: Class ‘Piwik\UrlHelper’ not found in /var/www/piwik/core/Tracker/Action.php on line 738”.

Not sure if this is a bug per se, since I just “jumped in” in the upgrade without reading any previous recommendation or guidelines but I decided to give you a heads up just in case.

UPDATED: We just noticed that custom variables in calls to tracking API are breaking the call (another 500 error message).

Best regards,


There’s no official 2.x release yet…

I still see 179 open tickets for 2.x there: http://dev.piwik.org/trac/query?status=assigned&status=new&status=reopened&group=status&milestone=2.x+-+Piwik+2.x

Where did you read about a 2.x release ?


Hi Dali,

In my piwik server. There was an upgrade alert informing that 2.0a4 was available and it asked me to either download the new version or update automatically. Since I was running only and internal server for testing purposed, I did update using the automatically option.

After that, due to the bug mentioned above I re-installed the 1.12 again, and this time no alert is showing which made me assume that the 2.04 was somehow a momentary “leak”.



Thanks for the feedback! Actually it was a bug that you could auto update to it since it is only alpha and not beta yet.

Can you delete the file /www/piwik/plugins/ExampleAPI/ExampleAPI.php and try again? if you get another error let me know?

Hi matt,

I sure can but just so I can understand, should I delete this file from the 2.04 version to see if the errors are gone, or should I delete it from the 1.2 to see if the auto update bug is gone?

Sorry for the confusion.



Could you try manually getting http://builds.piwik.org/piwik-2.0-a6.zip

and unzipping over your 2.0-a2 files. This way should fix errors. If you still see any send here, thanks!!