When I try to save the header with Elementor, WPML will block completion and use all available memory on the server, currently set at 256M.
[15-Nov-2021 22:07:39 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2097160 bytes) in /home/leptal229431/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4006
This error is saying that the memory that has been allocated by the server is not enough. As I can see, you already set the memory_limit to 256M but that's not enough. Sometimes, the server might still limit the memory limit.
In this case, please reach out to the hosting provider and ask for having a look at this issue. Unfortunately, there's nothing we can do about this kind of issue from the plugin side. The memory limit cannot be controlled by the plugin.
I changed the memory limit to 512M and max execution time to 360 seconds and still WPML is not able to complete normally.
[17-Nov-2021 13:56:57 UTC] PHP Fatal error: Maximum execution time of 360 seconds exceeded in /home/leptal229431/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/wpml-query-filter.class.php on line 373
Can you tell me if this is still happening if you deactivate all the plugins except for WPML and Elementor, and activate a default theme, like Twenty Twenty, please? I just want to make sure that this is not an issue caused by one of the plugins (or by the theme) that you're using.