Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Upgrading from 3 to 4. Call to undefined method Piwik\Tracker\Request::getDaysSinceLastVisit

$
0
0

Upgraded from v3.14.1 to v4.0.5
Downloaded zip and copied all files to wwwroot (did not remove any of the old v3.14.1 files).
All upgrade steps was executed successfully with no errors.
However I’m getting a php error when requesting the tracker URL below.

Request:
https://matomo.iaf.se/matomo.php?action_name=Start&idsite=1&rec=1&r=809934&h=8&m=51&s=33&url=https%3A%2F%2Fwww.iaf.se%2F&_id=c5df27499ebbe19e&_idn=0&_refts=1608103365&_ref=https%3A%2F%2Farbetsformedlingen.se%2F&send_image=0&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080&pv_id=ppWfUC&pf_net=0&pf_srv=33&pf_tfr=92&pf_dm1=607

Fatal error : Uncaught Error: Call to undefined method Piwik\Tracker\Request::getDaysSinceLastVisit() in C:\inetpub\wwwroot\matomo\matomo\plugins\VisitorInterest\Columns\VisitsByDaysSinceLastVisit.php:38 Stack trace: #0 C:\inetpub\wwwroot\matomo\matomo\core\Tracker\Visit.php(499): Piwik\Plugins\VisitorInterest\Columns\VisitsByDaysSinceLastVisit->onNewVisit() #1 C:\inetpub\wwwroot\matomo\matomo\core\Tracker\Visit.php(302): Piwik\Tracker\Visit->triggerHookOnDimensions() #2 C:\inetpub\wwwroot\matomo\matomo\core\Tracker\Visit.php(209): Piwik\Tracker\Visit->handleNewVisit() #3 C:\inetpub\wwwroot\matomo\matomo\core\Tracker.php(160): Piwik\Tracker\Visit->handle() #4 C:\inetpub\wwwroot\matomo\matomo\core\Tracker\Handler.php(55): Piwik\Tracker->trackRequest() #5 C:\inetpub\wwwroot\matomo\matomo\core\Tracker.php(140): Piwik\Tracker\Handler->process() #6 C:\inetpub\wwwroot\matomo\matomo\core\Tracker.php(115): Piwik\Tracker->track() #7 C:\inetpub\wwwroot\matomo\matomo\piwik.php(73): Piwik\Tracker->main() #8 C:\inetpub\wwwroot\matomo\m in C:\inetpub\wwwroot\matomo\matomo\plugins\VisitorInterest\Columns\VisitsByDaysSinceLastVisit.php on line 38

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles