You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing this issue where if session gets expired or an exception gets thrown, the middleware FilterIfPjax::filterResponse throws the following error.
Spatie\Pjax\Middleware\FilterIfPjax::filterResponse() must be an instance of Illuminate\Http\Response, instance of Illuminate\Http\JsonResponse given
What is the best way to handle this problem? I have only noticed this issue when accessing a route using pjax call if the user session gets expired or an exception like UnauthorizedException gets thrown.
The text was updated successfully, but these errors were encountered:
I am facing this issue where if session gets expired or an exception gets thrown, the middleware FilterIfPjax::filterResponse throws the following error.
Spatie\Pjax\Middleware\FilterIfPjax::filterResponse() must be an instance of Illuminate\Http\Response, instance of Illuminate\Http\JsonResponse given
What is the best way to handle this problem? I have only noticed this issue when accessing a route using pjax call if the user session gets expired or an exception like UnauthorizedException gets thrown.
The text was updated successfully, but these errors were encountered: