Skip Navigation

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.

This topic contains 5 replies, has 2 voices.

Last updated by francoisP-2 8 months, 3 weeks ago.

Assigned support staff: Radu.

Author Posts
November 15, 2021 at 11:51 pm #10000701

francoisP-2

Hello,

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

What's the problem?

Thank you.

Regards,

--
Francois

November 17, 2021 at 1:31 pm #10014753

Radu

Hey Francois,

Thank you for reaching out to the WPML support!

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.

Thanks,
Radu

November 17, 2021 at 2:04 pm #10015055

francoisP-2

Hello Radu,

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

Please help.

--
Francois

November 18, 2021 at 10:40 am #10021701

Radu

Hey Francois,

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.

Thanks,
Radu

November 18, 2021 at 3:08 pm #10024037

francoisP-2

Hello Radu,

Here is more info.

The site is a copy of hidden link and I tested it, the problem is already there before the copy, I cannot modify the header and I get the same error.

The problem is still present in the new site even after upgrading WordPress and all plugins.

In the new site I disabled all plugins but Elementor, the Jet plugins and WPML and the problem is the same.

If I test with Twenty Twenty-One the header is not defined in Elementor so I cannot try it.

What should I do?

Thanks.

--
Francois

November 19, 2021 at 5:05 pm #10032865

francoisP-2

I deleted all WPML data and now it works correctly.