Plugin Could Not Be Activated Because It Triggered a Fatal Error- Fix This Now!

Disclosure (full version here): Some of the links you’ll encounter are affiliate links. If you click and buy something, I may get a commission. Thank you! 

If you are a WordPress user then you might face the issue of Plugin Could not be Activated and throw some Fatal Error! Sometimes it becomes a headache for beginners as they don’t know about the Error and its solution.

Plugin activation errors may occur due to different reasons like theme and Plugin conflict, older versions of plugins, PHP Malfunctioning, and many more. If you read details about that fatal error then you will clearly get to know why this error comes.

If you get such an error then it’s simple to fix if you follow the guide provided below:

1. Install Plugins Manually

NOTE – Before you try these steps I highly recommend you take the backup of your WordPress site. You can easily take the backup of your site using the UpdraftPlus plugin.

If you are tried installing the plugin from the WordPress dashboard and still is showing a fatal error then follow these steps:

Go to your cPanel or any control panel provided by the hosting provider.

Click on the File manager option.

You will get website names in the left sidebar. Select the appropriate website name on which you are working now.

Click on wp-content followed by Plugins.

You can download the zip file of any plugin that you want from WordPress.org.

On the top menu bar, you will get the option of Upload. Select the zip file to upload it.

After Uploading check the zip file in the plugin section of the control panel.

Right Click on the name of that file and Extract it.

After Extraction is completed, just close that tab and check whether this plugin is available to activate in WordPress Dashboard.

Your Plugin is successfully installed on your WordPress site. Click on the Activate button to activate the plugin.

2. Deactivate all The Plugins

If you are having a number of plugins installed on your WordPress site then just uninstall all plugins to know which plugins have problems in installation.

This is the solution in the worst case so make sure that you have taken the backup of your plugin’s data before implementing this step.

Now, activate all the plugins one by one. You will find the culprit if any plugin has a problem.

3. Increase PHP Execution

Sometimes you will get an error saying that Maximum Execution time is exceeded. This one is a PHP-based error and our WordPress works on PHP mostly.

You have to change some code in your FTP client. Find the option of .htaccess in public_html.

Open that file and add “php_value max_execution_time 300” code to the .htaccess file.

If you are using Yoast SEO plugin then in the tools section you will find the file editor option. You can get a solution to the PHP memory problem by adding the following code in the wp-config.php file present in the public folder.

“define(‘WP_MEMORY_LIMIT’,’128M’);”

4. Install the Latest Version of WordPress

These steps can be done directly through your hosting provider but there is a chance of data loss so follow some tricky steps to install the latest version of WordPress without losing your data.

Download WordPress Latest Version Zip file from the official WordPress site.

After downloading the zip file, just upload it to the web browser using FTP.

Create a MySQL database and also create a user for WordPress. You can perform this step through your backend provided by the hosting service provider.

Configure WordPress to connect to the newly created database.

Conclusion

You can try solutions according to your problem and almost all problems get solved by using these tricks.

If your fatal error isn’t solved after trying all these steps then your plugin might be outdated or corrupted.

Add a Comment

Your email address will not be published. Required fields are marked *