Plugin could not be activated because it triggered a fatal error

How to fix “Plugin could not be activated because it triggered a fatal error” in WordPress

If your WordPress website stops working and displays the warning “Plugin could not be activated because it triggered a fatal error”, you don’t have to freak out at all.

Most of the time people face this error while installing/updating a WordPress plugin.

How to fix Plugin could not be activated because it triggered a fatal error in WordPress websites.

Even though this error itself looks quite scary because of the way it take down your whole website, It’s quite easy to fix it.

Here’s what you need to do to find the fatal error

  1. Log in to your hosting panel / cPanel.
  2. Then go to the File Manager on the hosting panel.
  3. Go to the WordPress folder.
  4. Find the error.log / debugging. the log file.
  5. You can find this file in inside the root “folder/wp-content”.
  6. Open the error.log file and check for the last error with the date and time specified in the error log.
  7. The error log records the path to the file where the error was caused.
  8. Now you can easily find the plugin that caused this error.
  9. The error log will show the path to the file – ” /home/yourusername/public_html/wp-content/plugins/Qblogger/plugin-file.php “.
  10. This is a plugin; you just need to deactivate the plugin to return your WordPress to its normal state.
  11. Deactivating the plugin without accessing the admin panel is very simple. Now, since you are already logged into your control panel and are currently in the WordPress root directory.
  12. Now you need to go to the root folder of WordPress -> WP-Content – > Plugins and rename the specific plugin folder. As ” Qblogger” to something like “1Qblogger” or “Qblogger1”
  13. Now log in to your WordPress admin section and go to WP Admin -> Plugins. You will find an error notification stating that the renamed plugin has been deactivated.
  14. Now reload your website to check if “Plugin could not be activated because it triggered a fatal error” has been fixed or not. In most cases, this has been fixed, and you will be able to access your WordPress Admin dashboard.
See Also:   Setting Up Parental Control on iPhone | Easy Guide

IF THE ERROR IS NOT FIXED THEN DO THIS: –

Second method to fix the Plugin could not be activated because it triggered a fatal error, simply go to the wp-content folder and rename the plugins folder to something else like plugins1 this should disable all plugins on your website and clear the error.

See: HOW TO START A BLOG AND EARN MONEY (COMPLETE GUIDE)

THE CAUSE:

What Causes The Plugin could not be activated because it triggered a fatal error?

A fatal WordPress error can be caused by a number of factors, such as:

WRONG CODING

A poorly coded plugin will cause problems no matter what theme and plugins you use.

COMPATIBILITY PROBLEM WITH WORDPRESS CODES

The plugin code may be incompatible with the code used in the main WordPress files. In this regard, most plugin developers update their plugins after the release of a new version of WordPress to make sure that their plugin is still compatible. Unfortunately, many plugin developers do not do this, so you need to be especially careful when installing old plugins.

COMPATIBILITY PROBLEM WITH ANOTHER PLUGIN

Plugins do not always go well with each other, especially when plugins offer similar functionality.

COMPATIBILITY PROBLEM WITH YOUR THEME

Many features of the theme are placed in the theme functions.php the file. The principle of extending the functionality of a theme using functions is the same as adding functionality using a plugin. Thus, problems may arise if it is poorly encoded or conflicts with another plugin.

Read Next:

See Also:   Over 10 Billion Amazon Counterfeit Listings Blocked!
Get the scoop from us
Leave a Reply
You May Also Like