laravel-debugbar: Debugbar exception: File does not exist at path

Something that gets me nervous…

Debugbar exception: File does not exist at path
/path/to/project/storage/debugbar/01JNR13JDT55NAXXDT4G2VHT3X.json.

Laravel version 10.48.28 Laravel Debugbar 13.5.1

The error starts to throw whenever open the project and start working. When clearing the debugbar storage after the first request a new JSON file is generated but the file name is different from that in the error message. After manually renaming the file everything is working fine. Thanks in advance!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 18 (3 by maintainers)

Most upvoted comments

I had the same error and came here. However, after clearing my session data, the error is resolved. I assume that the ID is stored somewhere and it does not recreate the file (or handle the missing file).

Image

I can reproduce the issue by manually removing the .json files in the storage/debugbar directory.

Environment:

  • PHP 8.3.17
  • Laravel v12.12.0

Actually it fixed for me by refreshing sessions

Nor work for me… 😦