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:
- Log in to your hosting panel / cPanel.
- Then go to the File Manager on the hosting panel.
- Go to the WordPress folder.
- Find the error.log / debugging. the log file.
- You can find this file in inside the root “folder/wp-content”.
- Open the error.log file and check for the last error with the date and time specified in the error log.
- The error log records the path to the file where the error was caused.
- Now you can easily find the plugin that caused this error.
- The error log will show the path to the file – ” /home/yourusername/public_html/wp-content/plugins/Qblogger/plugin-file.php “.
- This is a plugin; you just need to deactivate the plugin to return your WordPress to its normal state.
- 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.
- 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”
- 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.
- 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.
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.
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.
We are a team of innovative copywriters with years of experience writing compelling copies including web content, press releases, newsletters, advertising materials etc.
The Rindx copywriting team also offers writing services to both individual and corporate clients.
Click Here to Hire Us