php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

DebugBar must have a storage backend to use OpenHandler

Open WebKenth opened this issue 1 year ago • 2 comments

What is this exception and why does it happen on 404 pages exclusively from javascript calling pages?

My guess is that it's trying to get debug information from the call, but can't due to storage not being activated

Steps to reproduce

fetch('any/route/not/defined', {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'Accept': 'application/json',
        'X-CSRF-TOKEN': '{{ csrf_token() }}'
    }
});

^ run this from any console and see an exception pop in the laravel.log

image

WebKenth avatar Mar 21 '24 07:03 WebKenth

see an exception pop in the laravel.log

No exception in the laravel.log I just get 404 image

parallels999 avatar Mar 22 '24 14:03 parallels999

Did you explicitly disable storage?

barryvdh avatar Mar 31 '24 16:03 barryvdh