qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
550 stars 103 forks source link

Fatal Error Low Memory #1286

Open studiolonga opened 1 year ago

studiolonga commented 1 year ago

Hi, i have a problem with plugin qTranslate-XT Version 3.12.1. When I browse through the pages of the site only in the English version that I have translated with your plugin, I sometimes get a fatal error.

This is the error: "Fatal error: Allowed memory size of 15728640 bytes exhausted (tried to allocate 98304 bytes) in /home/pickupse/public_html/wp-content/plugins/qtranslate-xt-master/qtranslate_core.php on line 1167" and when it appears I can no longer navigate.

How can i resolve it? Thanks

Komarovski commented 1 year ago

Probably you need to increase "php_memory_limit". This message says that server need more RAM to process the script.

If you don't know how to do this, just ask your host provider to increase the RAM. Also you can try some of this methods: https://themeisle.com/blog/increase-wordpress-memory-limit/

Komarovski commented 1 year ago

I suggest you to have at least 2GB+ of "php_memory_limit".

herrvigg commented 1 year ago

Related to #1064. I have no clear visibility about the memory usage or how to profile it. Hopefully you can fix by raising the limit. Let us know if that works.

herrvigg commented 1 year ago

This should be a way to profile the memory consumption: https://xdebug.org/docs/profiler (TODO).