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 Deactivating all WordPress plugins without accessing admin area](https://www.wpbeginner.com/wp-content/uploads/2020/05/deactivateallplugins-og-1.png)
Tutorial em vídeo
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 Rename plugins folder](https://www.wpbeginner.com/wp-content/uploads/2023/03/rename-plugins.jpg)
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 Plugins deactivated via FTP](https://www.wpbeginner.com/wp-content/uploads/2013/01/plugins-deactivate-ftp.png)
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](https://www.wpbeginner.com/wp-content/uploads/2020/05/wordpress-plugins-deactivated.png)
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 Selecting phpMyAdmin on cPanel](https://www.wpbeginner.com/wp-content/uploads/2017/09/cpanel-phpmyadmin-min.png)
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-option Click at wp-options](https://www.wpbeginner.com/wp-content/uploads/2023/01/click-at-wp-option.png)
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-activeplugins-option Click the Activate_Plugins option](https://www.wpbeginner.com/wp-content/uploads/2023/01/click-activeplugins-option.png)
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](https://www.wpbeginner.com/wp-content/uploads/2020/05/phpmyadmin-option-value.png)
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:
- O que são plug-ins do WordPress? E como eles funcionam?
- Como desativar facilmente os plug-ins do WordPress (guia para iniciantes)
- Como habilitar/ativar plug-ins do WordPress a partir do banco de dados
- Os plug-ins inativos tornam o WordPress mais lento? Você deve excluí-los?
- Quantos plug-ins do WordPress você deve instalar? O que é demais?
- É seguro usar plug-ins desatualizados do WordPress? (Explicado)
- Você deve instalar plug-ins que não foram testados com sua versão do WordPress?
- Como atualizar corretamente os plug-ins do WordPress (passo a passo)
- Devo atualizar o WordPress ou os plug-ins primeiro? (Ordem correta de atualização)
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.
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!
Susan says
Hi! I reset the name of the plugin file but still couldn’t login. Anyone else have the same problem or have some advice?
Thanks!
WPBeginner Support says
Hey Susan,
You need to change the name of the plugins folder located inside /wp-content/ folder on your website.
Administrador
Katy says
Thank you, totally saved me. I was doing the “breathe, don’t panic” thing already thank goodness, which is how I found this article. Thanks again![:)](https://www.wpbeginner.com/pt/wp-content/plugins/classic-smilies/img/icon_smile.gif)
morgan says
Okay, so I’ve done this and now all my plugins are completely gone on my admin page. It keeps failing when i try to install anything.
I still see all my plugins on filezilla but they arent on my website.
Someone please help! I’m freaking out.
Martin says
Saved 4 of my sites which were updated through a certain host’s WP Pro dashboard. Thanks!
Zac says
Thanks! saved my day!
Jeremy Weston says
Something killed two of my sites. I ssh’d in and renamed the plugins folder, went into my WP admin, logged in, went to the plugins page. Then all plugins were disabled via the admin panel. My site was working again!
Then I renamed the plugins folder back to the original name and updated and reactivated my plugins. Something had caused my site to crash. Unfortunately, I’ll have to keep an eye open for this. Uptime monitors help!
Thanks for this writeup wpbeginner!
Goetz says
Thank you for the info, this helped a lot!
Alain says
I need to deactivate specific plugins!
Loraine says
Thanks so much. This article was super helpful and fixed my problem in minutes.
Collins Uzamere says
Thnak you very much .God bless the author of this article it helped me solve a problem that gave me sleepless night
Courtney says
Thank you! Thank you! Thank you!
This help was a Christmas Miracle!
I really appreciate you creating this site.
Gabriella Bourdon says
On my wordpress site, I got “the white screen of death” with the message “Warning: Cannot modify header information – headers already sent by (output started at …)
So we tried deactivating the plugins and it still doesn’t work-we still can’t get inside the admin console. We had issues with Google Adwords, and deleted those plugins, and now we actually do get ads…Not crystal on what’s going on? Any help would be much appreciated.
George M says
Another cause is if your php memory limit is too low. Please make sure your memory limit in php is set to at least 128M or 256M.
The other common cause is with a poorly coded theme. If you just installed a theme and this appears, you can re-enable the default theme by logging into PHPmyadmin, selecting your database, and changing the following values from wp_options table to a default theme that is present (twentyeleven, twentytwelve, twentythirteen, twentyfourteen, etc). Make sure this is a theme you actually have, and you can check your themes in the wp-content/themes directory. The values that need changes are:
template
stylesheet
current_theme
Gabriel Villalobos says
Thanks a lot ♥
Vincent says
Thank you so much <3
Phoebe says
How do you reactivate the plugins if they are not the issue and still cannot access your admin site?
Paul Douglas says
As always, Syed and team come through. plugins.deactivate worked flalwessly
Mario says
Yes, this worked for my website! Thank you very much
WPBeginner Support says
Hi Mario,
We are glad you found it helpful.
Don’t forget to join us on Twitter for more WordPress tips and tutorials.
Administrador
Tory Salvia says
After deactivating, can I reactivate the active plugins using the PHP method?
WPBeginner Support says
No, but you can activate your installed plugins by visiting the plugins page in your WordPress admin area. However, if a plugin was causing an issue on your website, then reactivating it will trigger the same issue again. This is how you can find out which plugin is causing the issue and find an alternative.
Administrador
jordannerissa says
Thank you, this is extremely helpful! The first fix worked perfect for me – PHEW!
Claire says
Hi, I am working on a locally hosted site running Xampp.
I am getting “Robot test error: I suggest a new strategy, R2, let the Wookie win.”, when I try to login to my locally hosted site on wordpress. I read a few articles and went to my phpmyadmin page, and clicked on the database I am using, selected “wp_options”, but I cannot find the “active_plugins”.
Does anyone know another way around getting rid of this error?So I can log back into my site.
Claire says
Managed to find a solution
went to my xampp folder, htdocs, then the name of the site I am creating. Then wp_content, then plugins, and deleted the folder containing the reCaptcha plugin, as this was giving me the “Robot test error: I suggest a new strategy, R2, let the Wookie win.”error.![:-)](https://www.wpbeginner.com/pt/wp-content/plugins/classic-smilies/img/icon_smile.gif)
Then could log back in with no problem
Agha Khan says
Thank you for your help.
Paul says
This is akin to turning the computer off and back on. In my case, it did not work.
Purushothaman J says
Your Plugin Deactivate Saved my Day.!! Thank you.
Dave says
Thank you for this!!!
Janet says
This was lifesaver. Thank you so much.
john smith says
This is a great page. FTP solution worked like a dream to fix my white screen of death. Note to self – always update all plugins before wordpress core…
Dirk says
Thanks for putting the different options on a page.
Makes it a clear list to go by checking the problem. What is not in the list but worked for me, is temporarily disabling the .htaccess file by renaming it and so I could working from there.
Eddy says
Thank you guys for the help. I used the FTP option and it worked perfectly.
Steve says
Thank you so much for this tip. I was going nuts because my wp-total-cache went haywire and your post helped me figure out what was going on. Thank you for taking the time to invest.
maz says
Thanks got me out of a jam need some help now to remove a dodgy plugin W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /home/content/16/8282516/html/notsealed/wp-content/db.php
IS it safe to remove this db.php file? Crashes if I leave the plugin in the folder, crashes if I install, crashes if uninstall. Fielzilla helped to rename but WordPress is a mess keeps coming up with the error above thanks
WPBeginner Support says
Delete W3 Total Cache folder using Filezilla and start using WP Super Cache plugin.
Administrador
Bona says
Mine is a different case, after disabling all the plugins by deleting the codes, the plugins and even widgets stopped showing by I was still unable to login to my admin page. Since the plugins are not the cause, I pasted the codes back and the plugins and widgets didn’t show up again! What happened?
Tristan Morgan-Buck says
THANK YOU GUYS SO MUCH; I was trying to access my website for 3 days after I installed login_form_recaptcha, and I tried everything, but you guys really saved my a**! Thanks a bunch!!!
arjun says
awesome ..love u
simon says
Thanks, worked a treat.
Much easier than I thought it would be.
I knew which plugin was the problem so went in with FTP and renamed the individual plugin module folder – logged back into WP and was able to delete the plugin from within wp-admin/plugins.
Ethan says
Saved my a** tonight, thank you!
MBHayes says
OH BOY… this just saved my tail end best I can tell… 6/15/16… Adminimize plugin upgrade crashed / blocked access to my admin panel.
THANK YOU SO SO MUCH this handy reference still lives on the web!!!
MBHayes says
… my case continues and is not closed after all …
When I renamed plugins and then soft restarted apache my admin panel was good… however, once I renamed plugins back to plugins from deactivate.plugins… AGAIN the admin panel would fire on IE but not let you in and would not fire at all on Firefox!
Oh boy… more CSI time……………………………
MBHayes says
Case Closed… before we BASH adminimize which has been a faithful plugin… let me say I’ve managed to reach the admin panel and reactivated adminimize and everything is still running.
My case was somewhat varied to this post… in my case my site was a vm running on ubuntu… I didn’t have access over the normal channels due to a network move killing off my webmin and winscp access… so while I used the same principals here I had to actually drill down by logging into the unbuntu server –> cd /var/www/wp-content/plugins. At first I RENAMED the plugins directory — it failed I guess cause while I logged in I logged back out then renamed the directory. Anyway, I continued to toy around and went back from within the plugins directory and renamed about 5 plugins (mv deact.plugin1… deact.plugin2… etc…. fired the wp-admin and we’re good! Reactivated about 3 of the 5 so far and it hasn’t crashed back out yet. Still testing… in summary want to emphasize that I can’t for sure at the moment say I lost the admin panel on the adminimize plug-in… but one of the 5 for sure caused issue. Anyway, I’m back slowly reactivating the rest!
Ruhi says
Hiee… when I try to load my site it says this page isn’t working also it says yoursite.com can’t handle this record and moreover am unable to acess my wordpress dashboard when I try entering the wp-admin it show blank white page please help!!
Previsha says
Thanks, this really helped me out.
pankaj says
hii,
i am getting
PHP Fatal error: Cannot redeclare is_comments_popup() (previously declared in /home/rateahqx/public_html/wp-includes/query.php:309) in /home/rateahqx/public_html/wp-includes/deprecated.php on line 3713
i tried everything but my site is still not starting pls help me.
and i think this problem started after the wordpress update.
WPBeginner Support says
It is possible that a WordPress update was stopped before completion. Try downloading a fresh copy of WordPress, unzip it on your computer and then upload them back to your server using FTP. This will overwrite WordPress core files.
Administrador
Manos Kaiser says
Kudos!!! Saved my day! Thanx!
Ronald says
thank you for this blog. it really helps but what i did is delete some plugins. Thank you once again my site brings back to life![:)](https://www.wpbeginner.com/pt/wp-content/plugins/classic-smilies/img/icon_smile.gif)
nino says
Hello i have downloaded FileZilla but I can’t find wp-content file . Help me
Hanne Schroedter says
Yupp, this was perfect, and I could deactivate Jetpack who was udated later today.
Thank you! Awesome.
Erica says
Literally (yes, literally
just saved my life with this! Thank you SO much!!
Palash Tannan says
How to Navigate to the /wp-content/ folder ?
WPBeginner Support says
You can visit it in your browser, like this:
example.com/wp-content
Replace example.com with the domain of the website.
However, wp-content file has a blank index.php file in it. So you will only be able to see a white screen.
If you know the full URL to a file, then you can view it in your browser like this:
example.com/wp-content/path/to/file.jpg
To navigate wp-content as an admin you need to use an FTP client or File Manager in cPanel.
Administrador
Lesly Federici says
Hello
THANK YOU for this article. for 2 days my site has been down due to a plugin and you’d think my theme/hosting support would tell me what to do. Nope. So I had to research it and this did it!
Michael Walker says
Thanks so much for this, and the https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/ page, they were just an absolute lifesaver for me. The first reaction to an internal error is total panic, and nowhere else gave such simple step by step instructions on how to solve. Thanks a lot, genuinely great site.
WPBeginner Support says
Glad you found it helpful.![:)](https://www.wpbeginner.com/pt/wp-content/plugins/classic-smilies/img/icon_smile.gif)
Administrador
Carl says
Thanks very much for this – I can confirm the FTP method works like a charm Mourad!
Neeraj says
thanks
man
Mourad says
This is so helpful, but what is FTP method like?
Muzahid Ul Islam says
Thank you very much….
it resolve my problem.