Error after install of 3.0.1-b1

Immediately after the upgrade from 3.0.0-b1 to 3.0.1-b1 I receive a 500 response and this error is put in the php error log after any page load:

PHP Fatal error: Class ‘Composer\Semver\VersionParser’ not found in /home/dallmon3/public_html/piwik/core/Plugin/Dependency.php on line 77

You may be running Piwik from git? if so please follow instructions here; How do I use Piwik from the official Git repository? - Analytics Platform - Matomo

Matthieu,
I did this:

wget https://builds.piwik.org/piwik-3.0.1-b1.zip
unzip -o piwik-3.0.1-b1.zip

I put the 3.0.0-b1 on this morning, and it ran until 6:00 PM, when it stopped logging traffic. While I was trying to sort that out, up popped something telling me to upgrade again to 3.0.1-b1, so I did.

Matthieu,

I went back to 3.0.0-b1 and it seems to be working again. Mostly. The “Visitors in Real Time” report does not refresh periodically like it used to, and does not show any visitor log data. It does show a count, but I have to refresh the browser to see it update. The “Detailed Visitor Log” report is empty.

Thanks,
Dave

Hi Dave,

Can you try troubleshooting the tracker as explained here: Tracking HTTP API: API Reference - Piwik Analytics - Developer Docs - v3 - it should give you an error message which would explain why there is no data tracked

Matthieu,

The morning after this happened I looked at it and it was not only working correctly - it caught up on the data. Like nothing ever happened. I thought maybe I broke it with the 3.0.1-b1 upgrade, so this morning I tried that again. Same result. The site gives 500 errors. So I just finished taking it down to 3.0.0-b1 again and it is working perfectly still. It must have been confused for a half of a day by the upgrade(?)

By the way, the user interface is more responsive. I really like it.

Thanks,
Dave