To enable debug.log, 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 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 with that link, it would be great!
* Please do not share the debug.log content in the reply.
The debug information is the code you get from the page WPML -> Support -> Troubleshooting (which you already provided).
Except for the debug information, I need the debug.log file content, that file is created on the "/wp-content/" folder of your website after you have added the code I provided before and tried to reproduce the issue.
If you already have followed those steps and pasted the file content to https://pastebin.com/, please share the link in your next reply.
On the debug.log content, I don't see anything related to WPML plugins, I noticed that the logs were related to the plugins:
- WP Event Manager
- WP Event Manager - WooCommerce Paid Listings
- WPEM - REST API
* Please note that the plugins "WP Event Manager - WooCommerce Paid Listings" and "WPEM - REST API" seem they are not part of the list of compatible plugins with WPML.
---
Would it be possible to check if the issue happens in a minimal setup, meaning:
- keep the theme you have
- keep active only WPML Plugins and must-have plugins for the theme to work
- disable all other plugins
After, check if the issue is still happening.
Note: Please make sure you have a full backup (files & database) before trying anything on your website.
* I would suggest testing further in a staging site to be able to troubleshoot further the issue without affecting the live website.
Let me know if that works out for you,
Marsel
The topic ‘[Closed] I have a 500 Internal server error that disappears when I decativate WPML’ is closed to new replies.