Comments (5)
Need more details, what's the full stack trace?
from telescope.
In AuthServiceProvider I have:
public function boot()
{
Auth::provider('users', function ($app, array $config) {
return new MultiDatabaseUserProvider($app['hash'], $config['model']);
});
}
Stacktrace of artisan command
php artisan config:cache
[stacktrace]
#0 vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(121): Illuminate\Auth\AuthManager->createUserProvider('users')
#1 vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(94): Illuminate\Auth\AuthManager->createSessionDriver('user', Array)
#2 vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(68): Illuminate\Auth\AuthManager->resolve('user')
#3 vendor/laravel/framework/src/Illuminate/Auth/AuthManager.php(292): Illuminate\Auth\AuthManager->guard()
#4 vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(223): Illuminate\Auth\AuthManager->__call('hasUser', Array)
#5 vendor/laravel/telescope/src/Telescope.php(199): Illuminate\Support\Facades\Facade::__callStatic('hasUser', Array)
#6 vendor/laravel/telescope/src/Telescope.php(275): Laravel\Telescope\Telescope::record('exception', Object(Laravel\Telescope\IncomingExceptionEntry))
#7 vendor/laravel/telescope/src/Watchers/ExceptionWatcher.php(46): Laravel\Telescope\Telescope::recordException(Object(Laravel\Telescope\IncomingExceptionEntry))
#8 vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(360): Laravel\Telescope\Watchers\ExceptionWatcher->recordException(Object(Illuminate\Log\Events\MessageLogged))
#9 vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(209): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('Illuminate\\Log\\...', Array)
#10 vendor/laravel/framework/src/Illuminate/Log/Logger.php(210): Illuminate\Events\Dispatcher->dispatch('Illuminate\\Log\\...')
#11 vendor/laravel/framework/src/Illuminate/Log/Logger.php(174): Illuminate\Log\Logger->fireLogEvent('error', 'Authentication ...', Array)
#12 vendor/laravel/framework/src/Illuminate/Log/Logger.php(87): Illuminate\Log\Logger->writeLog('error', 'Authentication ...', Array)
#13 vendor/laravel/framework/src/Illuminate/Log/LogManager.php(488): Illuminate\Log\Logger->error('Authentication ...', Array)
#14 vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(114): Illuminate\Log\LogManager->error('Authentication ...', Array)
#15 app/Exceptions/Handler.php(38): Illuminate\Foundation\Exceptions\Handler->report(Object(InvalidArgumentException))
#16 vendor/nunomaduro/collision/src/Adapters/Laravel/ExceptionHandler.php(60): App\Exceptions\Handler->report(Object(InvalidArgumentException))
#17 vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(353): NunoMaduro\Collision\Adapters\Laravel\ExceptionHandler->report(Object(InvalidArgumentException))
#18 vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(124): Illuminate\Foundation\Console\Kernel->reportException(Object(InvalidArgumentException))
#19 artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 {main}
"}
from telescope.
That seems like an issue in your app, please let us know if it's something related to Telescope.
from telescope.
I have the same issue.
Might not be something caused by Telescope, but the error goes away when removing Telescope.
from telescope.
I have the same issue with custom auth provider and laravel 8.77.1 and telescope 4.6.9. Before installing telescope the app was working fine with custom auth provider for the ~5 months.
Please disregard, the issue is gone when I removed my auth()->user()
condition from the App\Providers\TelescopeServiceProvider::register()
or App\Providers\TelescopeServiceProvider::boot()
methods.
from telescope.
Related Issues (20)
- Telescope is using the wrong assets in dev after migrating to Vite HOT 4
- RelatedEntries is not loaded after migrating from mix to vite
- Search tag with contains (not full search) HOT 2
- Feature: Request Watcher - Add posibility to limit size of view data in response HOT 1
- Prune command fails to delete records then using with mysql on planetscale HOT 7
- Hide sensitive information from out going requests? HOT 3
- Recording automatically resumed after 30 days HOT 2
- Gate::define callback doesn't run HOT 3
- Possible Features HOT 1
- Log messages truncation HOT 1
- Hide sensitive information from job details HOT 3
- Load Older Entries not working on Jobs page sometimes HOT 2
- Add Elasticsearch driver HOT 1
- Add curl section HOT 1
- Telescope Entries Key Collisions Across Multiple Servers HOT 4
- Telescope is not logging Mails, Notifications, Logs from Booted Method and Model Hooks HOT 1
- query with an escaped question mark does not reflect correct bindings HOT 1
- Ability to delete data by data type HOT 2
- Job recorder memory leak HOT 9
- Changing table names in database HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telescope.