Background of the issue:
I am trying to update a page on my website using Elementor, but the Elementor Widget Panel is not loading. When I deactivate the WPML plugin, the Elementor Widget Panel works.
Symptoms:
Elementor Widget Panel is not loading when WPML is active.
Before your ticket is assigned to one of my colleagues, I'd like to guide you through some initial debugging steps to speed up the support process.
To begin, please follow the below steps and let me know how it goes:
1. The current WP Memory Limit on your site is 40MB. The WP memory limit needs to be increased, it's different from PHP memory. PHP memory is fine but WordPress uses 40MB as default in your site. The minimum requirements for WPML are 128MB: https://wpml.org/home/minimum-requirements/
Please add this line to your wp-config.php file to increase WP memory, wp-config.php file is located in the root of your WP install:
You can add it anywhere in your file. I recommend placing it right before the following line:
/* That's all, stop editing! Happy blogging. */
2. We have recently released WPML 4.6.15, please take a backup of your site and update it to the latest version. You can update it from Plugins >> Add New page, click the Commercial tab, and then click the “Check for updates” button. Here is the screenshot for more details: https://wpml.org/wp-content/uploads/2020/04/wpml-force-plugin-update-1.png
3. Clear all sorts of caches on your site/server cache if any / plugin cache / CDN cache, clear the browser cache, and then see if it resolves the issue afterward.
4. If the issue persists, please enable error reporting on your site as we need to see the details of the latest error log to understand the cause of the issue better. To enable it, open your ‘wp-config.php’ file and look for ‘define(‘WP_DEBUG’, false);’. Change it to:
// 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 );
define( 'SCRIPT_DEBUG', true );
After adding the above code, please try editing the page in Elementor again, and if this process creates a debug.log file in your site's wp-content directory. Please send us its contents.