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 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!
2. Kindly check if the issue persists in a minimal environment by following these steps:
- Deactivate all the plugins that are not related to WPML.
- Switch for a moment to a WordPress default theme like Twenty Twenty-one.
- If the issue is gone, activate one by one to see with which one there is an interaction issue.
❌ Please backup your database and website before performing the above test ❌
Last time, the below code change was the fix that worked. It was the same problem then.
Since the update, it does not work anymore.
Dear MIkael,
Andrey from WPML support has added the following message to your support thread:
Critical error
Thank you for your feedback, Jozsef. It could be different issue, to ensure that your problem gets the attention it deserves, please open a new ticket detailing your issue.
@mikaelL-10, Could you please try the following workaround? Go to wp-content/plugins/sitepress-multilingual-cms/classes/ATE/Review/ReviewTranslation.php in the line 46:
right after this line
I see from the development ticket escalated to our developers that the fix has not been released yet. Please note that updating the plugin will remove any changes you made to the plugin files.