antonioribeiro / tracker

Laravel Stats Tracker
MIT License
2.9k stars 596 forks source link

Call to undefined method Illuminate\Routing\Route::getUri() - RepositoryManager.php #247

Open grafxflow opened 7 years ago

grafxflow commented 7 years ago

When I update Laravel 5.3 > 5.4 I get the following message.

Call to undefined method Illuminate\Routing\Route::getUri()

I needed to change the file tracker\src\Data\RepositoryManager.php

Line 568

return '/'.$route->current()->getUri();

to

return '/'.$route->current()->uri();

glore commented 7 years ago

me, too ,please update to composer!

KSVQ commented 7 years ago

Same

m7ammad7assan commented 5 years ago

This is also an error on my code !