Visitors In Real Time No Longer Works After 2.5.0 Update: States Referrer type ‘’ is not valid.
Please assist, just upgraded to the 2.5.0 update and now all my real time visits are showing an error and I keep receiving an error “Referrer type ‘’ is not valid.”
Also when I view the visitors tab, Visitors -> Visitor Log I receive this error: Failed to get data from API: Referrer type ‘’ is not valid.#0
Please assist. I should have backed up my database, but did not and upgraded. Now I cannot see how many times my sites have been viewed or from where the hits are coming from. Please assist.
Hi,
had the same issue after upgrading to 2.5.0.
A quick fix which seems to work for me is to prevent the lookup for an empty name in “/Plugins/Referrers/functions.php”.
I just added
if ($name == ''){
return;
}
immediately before
throw new \Exception("Referrer type '$name' is not valid.");
Same problem after failed update, 301 Moved Permanently .
michael-t-weber’s fix (I used NULL instead of “”, with same effect) brought back the Visitor Log, but here too with empty column “Referrer URL”.
On the settings page there was a warning:
Warning: The following plugins are not compatible with Piwik 2.5.0 and could not be loaded: Referers, ExampleFeedburner, PDFReports, GeoIP.
You can update or uninstall these plugins on the Manage Plugins page.
So I enabled the “Referrers” plugin (the compatible one with two "r"s, as replacement for the one with one “r”). All visits thereafter (counted from their first page view) seem to have now a Referrer URL.
Some background info:
On the “system check” page all checks pass, with the exception of:
Integrity check failed: /…/libs/tcpdf/include/sRGB.icc
File size mismatch: /…/plugins/Referrers/functions.php (expected length: 6985, found: 7022) - no wonder since I just changed it
Memory Limit and LOAD DATA INFILE show warnings.
@thomas-piwik: The referrer plugin was disabled for me also. But I could activate it without problems. The visitors log now works again without any problems.
Was already activated, so i deactivated and reactivated it.
All in all I must say that i am still stuck at "Piwik isn’t showing any results at all on main page, even if it IS counting visitors sigh
Hopefully there will come a fix for that soon -.-
Missing part is only that there is also written:
Dashboard aller Webseiten (Gesamt: 0 Besuche, 0 Seitenansichten, Einnahmen)
Dashboard of all Websites (Overall: 0 Visitors, 0 Views, Earning)
Here i have just a flatline. But on the other hand, if i check the SQL DB i see it is still counting new visitors and also when i open a single site i can see that there are new visitors, but i have also here since the 2.5.0 Update a Flatline in the Graph
So the flatline doesn’t comes with graphic problems, cuz then i could see at least the visitor numbers…
WOW … i have got my server to kick me out coughs Seems like he didn’t like it to have these crons run every two minutes… but after watching the server Avagerages getting high + Two Processes that were already hitting the 77% and 55% CPU mark, i had changed it to every hour… hopefully he lets me in again soon ^^"
It also starts to show me the first results in the counter again!! Takes a while, but it does need to process the Logs of 95 Pages for the last 1 1/2 weeks or so. That should be a little work to do.
Now i have only this one last Question… Can someone tell me what Cronjob is now correct? Because i have not the slightest Idea.