Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Copa WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Como desativar todos os plug-ins quando não for possível acessar o WP-Admin

Nota editorial: Ganhamos uma comissão de links de parceiros no WPBeginner. As comissões não afetam as opiniões ou avaliações de nossos editores. Saiba mais sobre Processo editorial.

Você precisa desativar todos os plug-ins do WordPress, mas não consegue acessar a área de administração do WordPress?

Durante a solução de problemas do WordPress, você será frequentemente aconselhado a desativar todos os plug-ins e depois reativá-los um a um. Mas e se você não conseguir acessar o wp-admin para desativá-los?

Neste artigo, mostraremos como desativar facilmente todos os plug-ins do WordPress quando não for possível acessar a área wp-admin.

Deactivating all WordPress plugins without accessing admin area

Tutorial em vídeo

Subscribe to WPBeginner

Se preferir instruções escritas ou quiser seguir seu próprio ritmo, continue lendo as instruções abaixo.

Há dois métodos comumente usados para desativar plug-ins sem acessar a área de administração do seu site WordPress. Você pode escolher o método que lhe parecer mais fácil:

Método 1: Desativar todos os plug-ins do WordPress usando FTP

Para esse método, você precisará usar um cliente FTP ou o aplicativo gerenciador de arquivos no painel de controle da hospedagem do WordPress.

Se você nunca usou o FTP antes, consulte nosso guia sobre como usar o FTP para fazer upload de arquivos para o WordPress.

Primeiro, você precisa se conectar ao seu site usando um cliente FTP ou o gerenciador de arquivos no cPanel. Depois de conectado, você precisa navegar até a pasta /wp-content/.

Dentro da pasta wp-content, você verá uma pasta chamada plugins. É nela que o WordPress armazena todos os plug-ins instalados em seu site.

Rename plugins folder

Você precisa clicar com o botão direito do mouse na pasta de plug-ins e selecionar “Renomear”.

Em seguida, altere o nome da pasta para o que você quiser. Em nosso exemplo, nós a chamaremos de plugins.deactivated.

Plugins deactivated via FTP

Depois de fazer isso, todos os seus plug-ins serão desativados.

Isso ocorre porque o WordPress procura uma pasta chamada “plugins” para carregar os arquivos de plugin. Quando não encontra a pasta, ele desativa automaticamente os plug-ins ativos no banco de dados.

Normalmente, esse método é usado quando você está bloqueado fora da área de administração. Se o problema for com os plug-ins, você poderá fazer login na área de administração do WordPress.

Se você visitar a página Plugins ” Plugins instalados na área de administração do WordPress, verá notificações de todos os plug-ins que foram desativados.

WordPress plugins deactivated

Você também perceberá que todos os seus plug-ins desapareceram. Não se preocupe; todos eles estão seguros e você pode restaurá-los facilmente.

Basta voltar ao seu cliente FTP e acessar a pasta /wp-content/. A partir daí, você precisa renomear a pasta plugins.deactivated de volta para plugins.

Agora, você pode voltar à página Plug-ins ” Plug-ins instalados na área de administração do WordPress e ativar um plug-in por vez até que seu site volte a funcionar.

Nesse ponto, você saberá exatamente qual plug-in causou o problema. Em seguida, você poderá excluir a pasta desse plug-in do seu site usando FTP ou solicitar suporte ao autor do plug-in.

Método 2: Desativar todos os plug-ins usando o phpMyAdmin

O método FTP é definitivamente mais fácil, em nossa opinião. No entanto, você também pode desativar todos os plug-ins do WordPress usando o phpMyAdmin.

Importante: antes de fazer qualquer coisa, faça um backup completo do banco de dados. Isso será muito útil se algo der errado.

Em seguida, será necessário fazer login no painel de controle da hospedagem na Web. Neste exemplo, estamos mostrando um painel do cPanel. O painel de sua conta de hospedagem pode ser diferente.

Você precisará clicar no ícone “phpMyAdmin” na seção Databases (Bancos de dados).

Selecting phpMyAdmin on cPanel

Isso iniciará o phpMyAdmin em uma nova janela do navegador.

Você precisará selecionar o banco de dados do WordPress, se ele ainda não estiver selecionado. Depois disso, você poderá ver as tabelas do banco de dados do WordPress.

Click at wp-options

Como você pode ver, todas as tabelas no banco de dados têm o prefixo wp_ antes do nome da tabela. Suas tabelas podem ter um prefixo de banco de dados diferente.

Você precisa clicar na tabela wp_options. Dentro da tabela wp_options, você verá linhas de diferentes opções. Localize a opção “active_plugins” e clique no link “Edit” (Editar) ao lado dela.

Click the Activate_Plugins option

Na próxima tela, você precisará alterar o campo option_value para a :0:{}.

Em seguida, clique no botão “Go” (Ir) para salvar suas alterações.

Reset active plugins

Você desativou com êxito todos os plug-ins do WordPress usando o phpMyAdmin. Se um plug-in o estava impedindo de acessar o administrador do WordPress, você deve conseguir fazer login agora.

Guias especializados sobre plug-ins do WordPress

Agora que você sabe como desativar plug-ins quando não consegue acessar o wp-admin, talvez queira ver outros guias relacionados a plug-ins do WordPress:

Esperamos que este artigo tenha ajudado você a desativar todos os plug-ins no WordPress. Você também pode querer saber como configurar as metas do Google Analytics ou conferir nossa lista dos melhores plug-ins de backup do WordPress para manter seus dados do WordPress seguros.

Se você gostou deste artigo, inscreva-se em nosso canal do YouTube para receber tutoriais em vídeo sobre o WordPress. Você também pode nos encontrar no Twitter e no Facebook.

Divulgação: Nosso conteúdo é apoiado pelo leitor. Isso significa que, se você clicar em alguns de nossos links, poderemos receber uma comissão. Veja como o WPBeginner é financiado, por que isso é importante e como você pode nos apoiar. Aqui está nosso processo editorial.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

O kit de ferramentas definitivo WordPress

Obtenha acesso GRATUITO ao nosso kit de ferramentas - uma coleção de produtos e recursos relacionados ao WordPress que todo profissional deve ter!

Reader Interactions

338 ComentáriosDeixe uma resposta

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Martyn says

    THANK YOU!! This article got me out of an issue that I had suffered for months. I thought a WordPress update would solve the issue – but when the next update came – I couldn’t access it as it was also suffering the ‘white screen of death’

    Followed the instructions – sorted!

    Thank you again

  3. MM says

    I had the white screen throughout my entire site after updating some plugins. I did this and I was able to access admin panel, but still had white screen on front in. Wouldn’t making all them inactive bring the site back all together? Not sure why deactivating them let me access admin panel but nothing else.

  4. Elias Obeid says

    This solved my problem. An update for the [NextGEN Gallery by Photocrati] plugin was available, and the update messed things up. Maybe it ran out of memory, I don’t know. I was unable to acces my plugin site.
    I increased the memory limit as described in a post from this site, by editing the wp-config.php file on the site. After this I deactivated the plugins, logged in and reactivated them. Thanks a lot.

  5. WHITEFEATHER HUNTER says

    OK! I managed to find the htaccess_old file, rename it to htaccess and my site is back online with no more problems. I was able to identify the bad plugin (Front End Users) and now the site is allllllllll good! Thanks so much for this extremely useful post.

  6. bibhuti says

    After I renamed the plugins folder, I am able to login but….as soon as i rename the plugins folder to default ,,,i am again getting a blank page………… please help………….how should i resolve this problem

  7. Laura says

    I am very new to wordpress, which we use at work to manage all the sites we do (I am not the web designer, so I don’t know how anything other than the basic wordpress dashboard works. I do not know how to access either of the things you mention in this post. I know it was a plug-in that caused the problem because I was trying to add plug-ins when this happened. Since we host a lot of wordpress sites, all with different plug-ins, I don’t know how to only fix the problem on the site that has the issue. Also, it’s not just the admin panel with the white screen, I also get that if I try to visit the actual site. Help!

  8. olivier percheron says

    Thanks for this precious post. I’ve managed to restart my admin console with the plug-ins deactivation.
    Thanks a lot for the help !!!

  9. Mark Klinefelter says

    Your article saved my day!! Thank you so much! Had the white screen of death after I installed uber menu plugin…..Your advice got me back to the admin again to retest plugins!! Superb!

  10. Stephanie says

    I’ve spent an hour trying to get back into my site, and you solved my problem within minutes. You directions were simple and easy to follow. Thanks so much for what you do!

  11. ana says

    Hi! I ‘m having this trouble. I Know that is a plugin who is crashing my website bc it is failing since I installed it. But my problem is that even my wp-content is white so I cannot change the plugin folder name. I haven’t been able to enter trough ftp either. What should I do next? Thank you very much in advance

    • WPBeginner Support says

      Most good WordPress hosting providers offer cPanel dashboard or other similar web based interface to manage your hosting account. Log in to your hosting account and find File Manager on your cPanel dashboard. Navigate to your wp-content/plugins directory. Now you can either rename only the plugin that is causing the problem or you can rename the entire plugins directory. This should deactivate all your plugins.

      Administrador

  12. Brian Dollin says

    I went in through the file manager and deleted the conflicting plugin. You have a new follower now. Thanks for the advice!
    Brian

  13. Michael Price says

    Thank you for this. I’m very new to wordpress and my own blog. Panicked with all of a sudden it didn’t work. I use HostLatte and they are of zero help to me (I need to switch). Your suggestion worked! Thank you soooo much

  14. Natasha says

    This has been beyond helpful! Actually your whole site is a goldmine of useful info for WordPress newbies like me!

    Many thanks!

  15. Dani Perkins says

    Oh wow, you just saved me so many hours of freaking out! I love you. Seriously, thanks! When I had the white screen of death just now, I followed your directions and re-did the plugins to no avail, but when I restored my theme all was right with the world.

  16. Shaneel says

    I tried using this but as soon as i enter my wp_options table i cannot find the active plugins tab..
    Could you please help me out with this?
    Thank You

  17. sally says

    thank you for the easy to follow solution….

    A plug in provider had suspended my access to WP admin with a big red screen after I asked to change from annual payments to monthly payments for the plug in.

  18. David says

    This advice, like many of your other ones, worked like a charm. The first time I switched back “on” the file, it crashed, then I deactivated again and it said no plugins files exist, then it worked.
    So some of you may have to do it twice (perhaps a cache thing, I don’t know), but it worked.
    In my case, the plug in that seemed to do it, wouldn’t reactivate as WP returned it would cause fatal error.
    So I am thrilled to know what to do going forward.
    thanks, WPBeginner!

  19. Natalie Proffitt says

    Disabling the plugins has resolved the white screen on the front end but I’m still getting white screen on /wp-admin. Any ideas how to fix this as i can’t log in to the admin panel now

  20. Edwin Lynch says

    Great post. Naturally, if you are using a security plug (that rewrites your .htaccess file for example) you might want to keep a bare WordPress .htaccess file handy, too – and upload that to the root dir. You can get a copy of the standard .htaccess file from the root of any virgin WP install. Just keep it handy for lockouts generally… As you were.

  21. David says

    I held my breath longer than a deepsea diver as I followed your instructions. It requires a degree of confidence and trust. For others, my problem was a plug-in which froze on activation, before getting the white screen treatment. I followed teh instructions about looking for wp-content, then to deactivate plug-ins. However, I decided just to delete the last plug-in only, and that did the trick! Thanks for providing such a ‘saver’!

  22. Maria says

    I deactivated all my plugins and themes except WP default theme, but the screen is still white and I cannot get to wp-admin.

  23. Roger Kamena says

    Your post SAVED ME….

    Twice!!!

    Thanks so much for writing this you don’t know how many hours of pain you saved me. Both times I had the problem I was able to resolve it in 10 minutes using your post instructions.

    Roger

  24. Lee Miller says

    Thank you for your articles on how to fix WordPress when something goes wrong.
    I’m somewhat new to WordPress and so far i have been not able to access my admin panel twice and both times it took me months to fix. The last time I couldn’t fix it so I just removed WordPress from my domain and started all over. I had to have my domain host help me get everything off so that I could start over. Extreme way to correct a problem but with low tech knowledge it was what I had to do. Good thing that I’m persistant as I would have given up blogging a long time ago. It’s my joy in writing that keeps me going.
    Thanks again for your site.
    You are helping people worldwide. USA for me. Lee

  25. karthik says

    Recently i also suffered from a problem caused from a newly activated plugin and i think this post should have come before few days

Deixe uma resposta

Obrigado por deixar um comentário. Lembre-se de que todos os comentários são moderados de acordo com nossos política de comentários, e seu endereço de e-mail NÃO será publicado. NÃO use palavras-chave no campo do nome. Vamos ter uma conversa pessoal e significativa.