andreaselia / laravel-analytics

Analytics for the Laravel framework.
MIT License
165 stars 25 forks source link

session store not set on request #63

Closed myneid closed 3 months ago

myneid commented 4 months ago

when i add it as a middleware in Kernel.php protected $middleware = [ ... \AndreasElia\Analytics\Http\Middleware\Analytics::class, ];

i get this error of "sessin store not set on request"

previously i had added this above calling analytics //\Illuminate\Session\Middleware\StartSession::class,

but i guess this does not work with jetstream. it messes up the jetstream (fortify) sessions

i have not figured out how to do this. any suggestions?

andreaselia commented 4 months ago

Hmm, could be another issue with Jetstream. Could you create a minimum reproducible example with a brand new Laravel 11 and Jetstream install and see if it's still an issue?

andreaselia commented 3 months ago

Let us know if this is still an issue.