2

I put this line on my .env file on my laravel application

DEBUGBAR_ENABLED=false
APP_DEBUG=false

But the app debug bar is still showing on the frontend? How can I remove this?

enter image description here

1
  • php artisan cache:clear Commented Mar 31, 2021 at 5:10

2 Answers 2

4

Just try this

Navigate to app/Providers/AppServiceProvider.php Put this code \Debugbar::disable();

class AppServiceProvider extends ServiceProvider
{
    public function boot()
    {
        \Debugbar::disable(); 
    }
}
Sign up to request clarification or add additional context in comments.

4 Comments

Do you wanna connect in skype? I can help you anytime
Yeah of course! it's my pleasure. please give me your skype id. i will add you.
My skype ID: jesus.erwin.suarez143
Also anyone would want my help you can add me anytime and message me anytime.
0

Your configurations are probably cached. Otherwise, setting APP_DEBUG=false should have been enough.

Try clearing the config cache with:

php artisan config:clear

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.