antonioribeiro / antonioribeiro/tracker

ErrorException@Authentication

Open
#228 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

Hi ,

I'm getting this error(see below). Is the AuthManager the correct class ? Cause the check methode only exisist in de Guard Class ?

ErrorException in Authentication.php line 29:
call_user_func() expects parameter 1 to be a valid callback, class 'Illuminate\Auth\AuthManager' does not have a method 'check'

This is happening when i set the log_user @ true , whitin the tracker config.

My other question is what is the purpose of the user_id, is this field to save the current logged in user?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at Authentication.php line 29 and inspect how the tracker config's log_user option invokes AuthManager and Guard. Trace the handling of user_id and determine the intended behavior for the current logged-in user; done means the callback works with log_user enabled and the user_id purpose is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
authentication, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.