概要
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. !!
対応
とりあえずキャッシュクリア系コマンドをすべて実行してもダメ。
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
引用