To enable it, open your wp-config.php file and look for:
define('WP_DEBUG', false);
And change it to:
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);
Then try to reproduce the issue by activating the plugin and check if any errors were saved to the debug.log log file inside the /wp-content/ directory.
If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!
[25-Mar-2024 06:59:56 UTC] PHP Warning: require_once(/home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-content/plugins/sitepress-multilingual-cms/vendor/autoload.php): Failed to open stream: No such file or directory in /home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-content/plugins/sitepress-multilingual-cms/sitepress.php on line 54
[25-Mar-2024 06:59:56 UTC] PHP Fatal error: Uncaught Error: Failed opening required '/home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-content/plugins/sitepress-multilingual-cms/vendor/autoload.php' (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-content/plugins/sitepress-multilingual-cms/sitepress.php:54
Stack trace:
#0 /home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-admin/includes/plugin.php(2318): include_once()
#1 /home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-admin/includes/plugin.php(663): plugin_sandbox_scrape()
#2 /home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-admin/plugins.php(58): activate_plugin()
#3 {main}
thrown in /home/dti033o7ddmi/public_html/harmony-mentalhealth.com/wp-content/plugins/sitepress-multilingual-cms/sitepress.php on line 54
Then install it from Plugins > Add new > Upload Plugin. If the issue persists, please try to deactivate all the plugins and leave only the WPML-related ones. Then activate one by one to see if any other plugin has a conflict with it.
❌ Please backup your database and website before trying the above steps ❌
There is still the same problem as before, I copy files via FTP but cannot install them directly through the WordPress panel, and if I install via FTP, the files are installed, but I am unable to activate them
The plugin will create a package file that you can download then upload again to Google Drive or Dropbox and share the download link in the next reply which I have marked as private. I'll import it to debug the issue locally, then escalate it to our 2nd tier support team for further investigation if needed.
I imported the site copy locally but I couldn't replicate the issue there. The plugin can be activated and configured without any issues as you can see here: hidden link
You can also check it in our testing server on Cloudways here: hidden link (Use your login details)
This means that the issue could be related to your server configuration, please contact the hosting provider and make sure your server environment meets our minimum requirement to run WPML. Kindly check this doc for more details: https://wpml.org/home/minimum-requirements/
Let us know their feedback please.
The topic ‘[Closed] Plugin could not be activated because it triggered a fatal error’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.