Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Check if file exists on FilesystemStorage #1790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

erikn69
Copy link
Contributor

@erikn69 erikn69 commented May 7, 2025

This bug prevents the debugbar from being displayed, it can only be seen from the log file

Debugbar exception: File does not exist at path /var/www/storage/debugbar/976f3e1e7548.json. 

#0 /var/www/vendor/barryvdh/laravel-debugbar/src/Storage/FilesystemStorage.php(84):
    Illuminate\Filesystem\Filesystem->get('/var/www/storag...')
#1 /var/www/vendor/php-debugbar/php-debugbar/src/DebugBar/DebugBar.php(383):
    Barryvdh\Debugbar\Storage\FilesystemStorage->get('976f3e1e7548')
#2 /var/www/vendor/barryvdh/laravel-debugbar/src/LaravelDebugbar.php(1118):
    DebugBar\DebugBar->getStackedData(false)
#3 /var/www/vendor/barryvdh/laravel-debugbar/src/LaravelDebugbar.php(1107):
    Barryvdh\Debugbar\LaravelDebugbar->getStackedData(false)

Complement of php-debugbar/php-debugbar#777

@barryvdh
Copy link
Owner

barryvdh commented May 8, 2025

Not sure why this would happen?

@barryvdh barryvdh merged commit 239e2eb into barryvdh:master May 8, 2025
27 checks passed
@erikn69
Copy link
Contributor Author

erikn69 commented May 8, 2025

Very specific cases, where something fails in a redirection, or if there are multiple calls and a profiles clear is executed, or if a stacked session remains, and some type of deletion is made to the files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debugbar exception: File does not exist at path
2 participants