[New post] How to Deactivate a Plugin Without Access to WP-Admin - EMEL

Latest

EMEL

Tuesday, November 8, 2022

New

[New post] How to Deactivate a Plugin Without Access to WP-Admin

Media Mamat Turbo November 08, 2022
Site logo image Daniel posted: " It's common for a plugin to cause a fatal or critical error in WordPress that results in loss of access to a site's public web pages or WP Admin area. That fact that it is common doesn't make it any less terrifying to experience. When a fatal error occur" Jetpack

How to Deactivate a Plugin Without Access to WP-Admin

Daniel

Nov 8

It's common for a plugin to cause a fatal or critical error in WordPress that results in loss of access to a site's public web pages or WP Admin area. That fact that it is common doesn't make it any less terrifying to experience. When a fatal error occurs on a WordPress site, it is usually due to a bug in the responsible plugin or theme code that causes the affected site's server to become stuck and unable to respond to requests.

Usually, the WordPress.org software displays a critical error message when a bug on the site is causing an error preventing the site from working. WordPress also emails the site administrator with more details about the error. If you cannot find that email, the next best step would be to check the PHP error logs in your web hosting account, if those are available. If you're unsure how to access those logs, your web host can help you. You can also put WordPress in debug mode and check the error messages displayed when you attempt to visit your site.

However you get the error messages, the entire message should include the name of the plugin, theme folder, or file causing the error. Upon discovering the plugin causing the error, you might wonder how to remove the plugin or theme and get your site working again when the plugin error prevents you from accessing your WP Admin area. Deactivating plugins via WP Admin is not the only way. There's another way:

Step 1: Get your site's SSH, SFTP, or FTP credentials

Now that your site is down, you'll need the correct credentials to access your site's files remotely via other non-HTTP means. SSH (Secure Shell), SFTP (SSH File Transfer Protocol), FTPS (also known as FTP-SSL, and FTP Secure), and FTP (File Transfer Protocol) are different types of server access protocols/schemes.

These credentials allow you, or a service like Jetpack Backup, to directly access your site's files on the server powering your website. You can get these from your hosting account dashboard or with the help of your hosting provider's support. Note that these server access credentials are unique and different from your WP Admin login details and, in most cases, your host's control panel or dashboard login.

Step 2: Download a file transfer client application

For the next step, you will need to use a file transfer client app/software like FileZilla or Transmit. The file manager option in your WordPress hosting control panel is also a good option, but it might be better to use a file transfer client as they consistently provide better interfaces for viewing your site's files than many hosting account file managers.

Step 3: Connect to your server using the credentials

Once you have your SSH, SFTP, or FTP credentials and a file transfer app installed on your device, proceed to connect to your site using the credentials. FileZilla has some usage instructions that should help guide you along the way. Transmit also has a help guide on using their Quick Connect feature to connect to your server.

The general process is to choose the protocol or server type and to fill out the form with the details (server address, username, password, port, and remote WordPress installation path that you have gotten from your hosting account, support, or server administrator). Once you have done that, click Connect or the equivalent on the file transfer app of your choice to connect to your server. When you have successfully connected, you should see a list of files and directories in the remote path you provided. Here's what that looks like in Transmit:

Step 4: Rename the plugin folder to deactivate it

Now that you're connected and can see your site's files and folders, navigate to the wp-content folder. Inside this wp-content folder, you will see a folder called plugins where WordPress stores the files for all plugins installed on your website.

Navigate to the plugins folder, select the plugin culprit and right-click to view more options. Click Rename or the equivalent on your chosen file transfer client. Then set the new name of the folder to something like plugin-name.deactivate. In other words, add .deactivate to the name of the folder. Here's what that the rename option looks like in Transmit:

Once you rename the plugin, it will be deactivated because WordPress won't be able to find the plugin folder when it looks there. If that plugin was the cause of the critical error, you should regain access to your WordPress site and the admin area. If you navigate to WP Admin > Plugins, you should see a notification saying that the plugin has been deactivated because the plugin file does not exist like so:

That's it. You can follow the same steps to deactivate a theme if a theme is responsible for the critical error. Only this time, you should navigate to wp-content/themes when you have connected to your site via SSH, SFTP, or FTP. If a theme bug is actually stopping you from accessing your site, then renaming the theme folder should resolve the issue.

Hopefully, this article has helped you resolve a critical error on your site. You may want to check out our Jetpack Backup product or the Jetpack Security bundle to keep your WordPress site's data safe. With regular malware scans, a web application firewall, real-time backups, and one-click restores, you can relax and focus on publishing awesome content for your readers.


Unsubscribe to no longer receive posts from Jetpack.
Change your email settings at manage subscriptions.

Trouble clicking? Copy and paste this URL into your browser:
http://jetpack.com/2022/11/08/how-to-deactivate-a-plugin-without-access-to-wp-admin/

Powered by WordPress.com
Download on the App Store Get it on Google Play
Read more

Subscribe via email

Share This:
Facebook Twitter Google+ Pinterest Linkedin
Author Image

About Media Mamat Turbo
Templatesyard is a blogger resources site is a provider of high quality blogger template with premium looking layout and robust design. The main mission of templatesyard is to provide the best quality blogger templates.

By Media Mamat Turbo at November 08, 2022
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Popular

  • This Weeks New Digital Building Blog Post
    MAMAT, check out this weeks new Digital Building Blog. ...
  • 8 Must-Try AI Tools for Web Development (Build Faster & Smarter)
    8 Must-Try AI Tools for Web Development (Build Faster & Smarter)
    Artificial intelligence excels at automating repetitive tasks and streamlining t...
  • [New post] Level Up Your Author HQ With GoCreate.Me
    David Gaughran posted: " Author websites are an increasingly important tool, but one that can cause a lot of aggravation. W...
  • When Typepad Shut Down, We Helped 3,684 Blogs Find a New Home
    30 days' notice. Years of memories at stake. Here's how WordPress.com st...
  • Covid Turbulence – how countries got cancellations under control
    ...

Sponsor

Powered by Blogger.

Blog Archive

  • January 2026 (7)
  • December 2025 (16)
  • November 2025 (19)
  • October 2025 (11)
  • September 2025 (16)
  • August 2025 (22)
  • July 2025 (19)
  • June 2025 (13)
  • May 2025 (21)
  • April 2025 (32)
  • March 2025 (32)
  • February 2025 (20)
  • January 2025 (44)
  • December 2024 (15)
  • November 2024 (17)
  • October 2024 (14)
  • September 2024 (18)
  • August 2024 (19)
  • July 2024 (14)
  • June 2024 (21)
  • May 2024 (17)
  • April 2024 (24)
  • March 2024 (29)
  • February 2024 (24)
  • January 2024 (63)
  • December 2023 (32)
  • November 2023 (29)
  • October 2023 (25)
  • September 2023 (33)
  • August 2023 (21)
  • July 2023 (21)
  • June 2023 (29)
  • May 2023 (19)
  • April 2023 (14)
  • March 2023 (16)
  • February 2023 (18)
  • January 2023 (16)
  • December 2022 (20)
  • November 2022 (24)
  • October 2022 (22)
  • September 2022 (19)
  • August 2022 (24)
  • July 2022 (31)
  • June 2022 (34)
  • May 2022 (31)
  • April 2022 (37)
  • March 2022 (28)
  • February 2022 (31)
  • January 2022 (39)
  • December 2021 (35)
  • November 2021 (37)
  • October 2021 (32)
  • September 2021 (18)
  • August 2021 (48)
  • July 2021 (43)
  • June 2021 (44)
  • May 2021 (65)
  • April 2021 (72)
  • March 2021 (64)
  • February 2021 (50)
  • January 2021 (47)
  • December 2020 (47)
  • November 2020 (43)
  • October 2020 (96)
  • September 2020 (100)
  • August 2020 (128)
  • July 2020 (87)
  • June 2020 (108)
  • May 2020 (107)
  • April 2020 (90)
  • March 2020 (91)
  • February 2020 (77)
  • January 2020 (88)
  • December 2019 (105)
  • November 2019 (107)
  • October 2019 (102)
  • September 2019 (98)
  • August 2019 (118)
  • July 2019 (115)
  • June 2019 (99)
  • May 2019 (115)
  • April 2019 (103)
  • March 2019 (112)
  • February 2019 (118)
  • January 2019 (109)
  • December 2018 (106)
  • November 2018 (128)
  • October 2018 (97)
  • September 2018 (126)
  • August 2018 (59)
  • January 2013 (1)

Search This Blog

Popular Posts

  • This Weeks New Digital Building Blog Post
    This Weeks New Digital Building Blog Post
    MAMAT, check out this weeks new Digital Building Blog. ...
  • 8 Must-Try AI Tools for Web Development (Build Faster & Smarter)
    8 Must-Try AI Tools for Web Development (Build Faster & Smarter)
    Artificial intelligence excels at automating repetitive tasks and streamlining t...
  • [New post] Level Up Your Author HQ With GoCreate.Me
    [New post] Level Up Your Author HQ With GoCreate.Me
    David Gaughran posted: " Author websites are an increasingly important tool, but one that can cause a lot of aggravation. W...
  • When Typepad Shut Down, We Helped 3,684 Blogs Find a New Home
    When Typepad Shut Down, We Helped 3,684 Blogs Find a New Home
    30 days' notice. Years of memories at stake. Here's how WordPress.com st...
Crafted with by TemplatesYard