0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

LaravelのDebugbarでTo enable publicエラーが出たときの対処方法

Posted at

概要

LaravelのDebugbarで下記エラーが表示されDebugbarが使えなくなった。

!! To enable public access to previous requests, set debugbar.storage.open to true in your config, or enable DEBUGBAR_OPEN_STORAGE if you did not publish the config. !!

266790655-48463090-a498-45e4-892a-7cbbe35edc54.png

対応

とりあえずキャッシュクリア系コマンドをすべて実行してもダメ。

php artisan route:clear
php artisan route:cache
php artisan config:clear
php artisan cache:clear
php artisan view:clear
php artisan optimize
composer dump-autoload

対処法

1.config/debugbar.phpファイルを削除
2.再度Debugbarを利用するコマンドを打つ

php artisan vendor:publish --provider=Barryvdh\\Debugbar\\ServiceProvider

引用

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?