The error “Plugin could not be activated because it triggered a fatal error” could be caused due to several reasons.
Important Note:
Because all of our plugins are working on many websites without any problem, that problem that you have, in most cases, is something that is unique to WordPress installation or server configuration.
Every plugin release, including version updates, is going through many tests before we release it and a fatal error issue is something that can not be missed.
Here are 2 reasons this error could arise and how you can solve it:
Reason #1: Corrupted Zip File
The plugin Zip file was corrupted when you download it from the store or when you uploaded it to the your website
Solution:
Deactivate and delete the plugin from your website, download a fresh copy from your account, upload and activate it again.
Reason #2: Missing PHP Library
Your server is missing a common PHP library
Solution:
If the error message includes the word mcrypt , it’s just alerting you that the mcrypt PHP library is missing.
This is a well known PHP library that needs to be installed on most PHP environments.
If you are not the one managing your hosting environment, please contact your hosting help desk and ask them to install it for you.
The above Solutions are not Working
If you have followed both solutions and you still cannot activate the plugin, it can be caused by a plugin conflict or another issues that needs to be addressed by our support team.
Please open a support ticket and mention that you have followed the above solutions, but nothing worked and our support team will troubleshoot the issue.