antonioribeiro / antonioribeiro/tracker
Class 'Tracker' not found
- Dominant language
- PHP
- Stars
- 2.9k
- Forks
- 594
- PR merge metrics
- No merged PRs in 30d
Description
I'am using namespace in my controllers , this is my controller :
[controllers/admin/AdminController.php]
theme = Theme::uses('admin');
$visitor = Tracker::currentSession();
dd($visitor);
}
public function getIndex() {
$the_title = trans("admin.labels.dashboard");
return $this->theme->scope('index',compact('the_title'))
->render();
}
```
}
Contributor guide
No contributing guide indexed for this repository
Research direction
Begin with controllers/admin/AdminController.php and the Tracker::currentSession() call; reproduce the class-resolution error in the controller and inspect the project's Tracker entry point. Done means the namespaced controller resolves Tracker and currentSession() executes without the reported "Class 'Tracker' not found" error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100