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

Jak wyłączyć wszystkie wtyczki, gdy nie można uzyskać dostępu do WP-Admin

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Chcesz wyłączyć wszystkie wtyczki WordPress, ale nie masz dostępu do obszaru administracyjnego WordPress?

Podczas rozwiązywania problemów z WordPressem często zaleca się wyłączanie wszystkich wtyczek, a następnie ich ponowną aktywację. Ale co, jeśli nie możesz uzyskać dostępu do wp-admin, aby je wyłączać?

W tym artykule pokażemy, jak łatwo wyłączyć wszystkie wtyczki WordPress, gdy nie masz dostępu do obszaru administracyjnego wp-admin.

Deactivating all WordPress plugins without accessing admin area

Film instruktażowy

Subscribe to WPBeginner

Jeśli wolisz pisemne instrukcje lub chcesz poruszać się we własnym tempie, kontynuuj czytanie poniższych instrukcji.

Istnieją dwie powszechnie stosowane metody wyłączania wtyczek bez dostępu do obszaru administracyjnego twojej witryny internetowej WordPress. Możesz wybrać metodę, która wydaje się łatwiejsza:

Metoda 1: Wyłączanie wszystkich wtyczek WordPress za pomocą FTP

W przypadku tej metody będziesz musiał użyć klienta FTP lub aplikacji do zarządzania plikami w twoim panelu kontrolnym hostingu WordPress.

Jeśli nie korzystałeś wcześniej z FTP, możesz zapoznać się z naszym przewodnikiem na temat korzystania z FTP do przesyłania plików do WordPress.

Najpierw musisz połączyć się z twoją witryną internetową za pomocą klienta FTP lub menedżera plików w cPanel. Po połączeniu należy przejść do katalogu /wp-content/.

Wewnątrz katalogu wp-content znajduje się katalog o nazwie wtyczki. Jest to miejsce, w którym WordPress przechowuje wszystkie wtyczki zainstalowane na twojej witrynie internetowej.

Rename plugins folder

Należy kliknąć prawym przyciskiem myszy katalog z wtyczkami i wybrać opcję „Zmień nazwę”.

Następnie zmień nazwę katalogu na dowolną. W naszym przykładzie nazwiemy go wtyczki.wyłączanie.

Plugins deactivated via FTP

Gdy to zrobisz, wszystkie twoje wtyczki zostaną wyłączane.

Dzieje się tak, ponieważ WordPress szuka katalogu o nazwie „wtyczki”, aby wczytywać pliki wtyczek. Gdy nie znajdzie tego katalogu, automatycznie wyłącza włączone wtyczki w bazie danych.

Zwykle ta metoda jest używana, gdy twój obszar administracyjny jest zablokowany. Jeśli problem dotyczył twoich wtyczek, powinieneś być w stanie logować się do obszaru administracyjnego WordPress.

Jeśli przejdziesz na stronę Wtyczki ” Zainstalowane wtyczki w obszarze administracyjnym WordPress, zobaczysz powiadomienia o wszystkich wtyczkach, które zostały wyłączane.

WordPress plugins deactivated

Zauważysz również, że wszystkie twoje wtyczki zniknęły. Nie martw się, wszystkie są bezpieczne i możesz je łatwo przywrócić.

Po prostu przełącz się z powrotem do twojego klienta FTP i przejdź do katalogu /wp-content/. Z tego miejsca należy zmienić nazwę katalogu plugins.deactivated z powrotem na plugins .

Teraz możesz wrócić do strony Wtyczki ” Zainstalowane wtyczki w obszarze administracyjnym WordPress i włączać po jednej wtyczce na raz, aż twoja witryna znów się zepsuje.

W tym momencie będziesz dokładnie wiedział, która wtyczka spowodowała problem. Następnie możesz usunąć katalog tej wtyczki ze swojej witryny za pomocą FTP lub poprosić autora wtyczki o pomoc techniczną.

Metoda 2: Wyłączanie wszystkich wtyczek za pomocą phpMyAdmin

Naszym zdaniem metoda FTP jest zdecydowanie łatwiejsza. Możesz jednak również wyłączyć wszystkie wtyczki WordPress za pomocą phpMyAdmin.

Ważne: Zanim cokolwiek zrobisz, wykonaj pełną kopię zapasową bazy danych. Przyda się, jeśli coś pójdzie nie tak.

Następnie należy logować się do kokpitu twojego hostingu. W tym przykładzie pokazujemy kokpit cPanel. Kokpit twojego konta hostingowego może wyglądać inaczej.

Będziesz musiał kliknąć ikonkę „phpMyAdmin” w sekcji „Bazy danych”.

Selecting phpMyAdmin on cPanel

Spowoduje to uruchomienie phpMyAdmin w nowym oknie przeglądarki.

Będziesz musiał wybrać twoją bazę danych WordPress, jeśli nie jest jeszcze wybrana. Następnie będziesz mógł zobaczyć tabele bazy danych WordPress.

Click at wp-options

Jak widać, wszystkie tabele w bazie danych mają przedrostek wp_ przed nazwą tabeli. Twoje tabele mogą mieć inny prefiks bazy danych.

Należy kliknąć tabelę wp_options. Wewnątrz tabeli wp_options zobaczysz wiersze różnych opcji. Znajdź opcję „active_plugins”, a następnie kliknij znajdujący się obok niej odnośnik „Edit”.

Click the Activate_Plugins option

Na następnym ekranie należy zmienić pole option_value na a:0:{}.

Następnie kliknij przycisk „Dalej”, aby zapisać twoje zmiany.

Reset active plugins

Udało ci się wyłączyć wszystkie wtyczki WordPress za pomocą phpMyAdmin. Jeśli jakaś wtyczka uniemożliwiała ci dostęp do panelu administracyjnego WordPress, teraz powinieneś móc się logować.

Przewodniki ekspertów po wtyczkach WordPress

Teraz, gdy już wiesz, jak wyłączać wtyczki, gdy nie masz dostępu do wp-admin, być może spodoba ci się kilka innych przewodników związanych z wtyczkami WordPress:

Mamy nadzieję, że ten artykuł pomógł ci w wyłączaniu wszystkich wtyczek w WordPressie. Możesz również dowiedzieć się, jak skonfigurować cele Google Analytics lub sprawdzić naszą listę najlepszych wtyczek do tworzenia kopii zapasowych WordPress, aby Twoje dane były bezpieczne.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

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.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

338 komentarzyZostaw odpowiedź

  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. 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!

  3. 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 :)

  4. 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.

  5. 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!

  6. 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

  7. Courtney says

    Thank you! Thank you! Thank you!
    This help was a Christmas Miracle!
    I really appreciate you creating this site.

  8. 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

    • 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.

      Administrator

  9. 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.
      Then could log back in with no problem :-)

  10. 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…

  11. 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.

    • 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.

  12. 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

  13. 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?

  14. 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!!!

  15. 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.

  16. 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!

  17. 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!!

  18. 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.

      Administrator

  19. 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 :)

  20. Hanne Schroedter says

    Yupp, this was perfect, and I could deactivate Jetpack who was udated later today.
    Thank you! Awesome.

    • 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.

      Administrator

  21. 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!

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.