This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with images not appearing in the Media Library when WPML is activated, but they do appear on the frontend when uploaded to a post or product, this might be due to a compatibility issue.
Solution:
We recommend setting up a staging or development site to troubleshoot this issue without affecting your live site. Additionally, enable the WordPress debug log to collect more detailed information about the problem. Here are the steps to enable debugging:
- Open your wp-config.php file located in the root directory of your site.
- Find the line
// Enable WP_DEBUG mode 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 define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
After enabling debugging, reproduce the issue by uploading media files while WPML is active and check for any errors or warnings in the debug.log file within the
/wp-content/
directory. Also, verify if there are any JavaScript errors in your browser console.
For further instructions on debugging, you can visit WPML Debugging Documentation and WordPress Debugging Documentation.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket for further assistance.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.