antonioribeiro / antonioribeiro/tracker

Class tracker doesn't exists

Open
#205 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

Hello!

I've been working with your tracker and everything was perfect until now.
I actually made no changes and it started to through this exception.

In my app.php I have the following Service Provider and Aliases
'PragmaRX\Tracker\Vendor\Laravel\ServiceProvider',
'Tracker' => 'PragmaRX\Tracker\Vendor\Laravel\Facade',

Also, in tracker.php the "enabled" flag is true.

I have "vendor published" and migrated everything. But sill, when using the Tracker it break totally. Fatal.

Error message: **'ReflectionException' with message 'Class tracker does not exist'**

Please not that the error is not "Class 'Tracker' not found".

I am running it on Laravel 5.2 in a VPS with CentOs 6 and I have a separated database connection named "tracker".

Also, it fails when working on the VPS because it works perfectly in my localhost.

Do you have any idea of what could be wrong?

I appreciate your help. Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with app.php, tracker.php, the listed Laravel service provider and facade aliases, then compare the VPS and localhost configuration for Laravel 5.2 and the separate tracker database connection. Done means the reported environment resolves Tracker without the ReflectionException that says the tracker class does not exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.