• Resolved vialoagenturo

    (@vialoagenturo)


    Hi, I am using your free plugin and I am not able to translate the gettext strings from my theme. In addition, I have a loading circle in the top, right next to the Save button which keeps spinning. I can translate the normal string but not the gettext strings. I checked my debug.log file and it showed me that the translatepress function.php and the woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler.php are out of memory.

    TranslatePress: Out of memory (allocated 352321536) (tried to allocate 8192 bytes)
    Woocommerce: Out of memory (allocated 352321536) (tried to allocate 65536 bytes)

    It’s like the plugin tries to read a string and starts to circling around this specific string and runs out of memory.

    I increased the memory-limit to 256MB and then to 512MB (per wp_config and php.ini). The php.ini says everything is working fine, but the Bug does not disappear. I use the version PHP 7.3.

    I installed the WordPress Version 5.4 and TranslatePress is currently not tested for this version. Maybe this is the bug?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I was just about to post about the exact same problem. The primary language of my site works well, but the English translation eats up huge amounts of memory, freezes up and gives a critical error all the time.

    I just now ran an Updraft backup, and it warned that table trp_gettext_en_gb has very many rows (1005286). This is probably not normal? My website is quite small.

    I’m using the latest WP, Twentytwenty and Woocommerce.

    Dragos

    (@dragosvrejiu)

    Hello,

    If this happens exclusively in the English language, then yes , it is a bug that we are aware of and will be fixed in the next version of TranslatePress.

    Our plugin multiplies some WooCommerce gettext strings – thus , flooding the database and generating this error.

    Sorry for the inconvenience!

    Best regards,

    Thread Starter vialoagenturo

    (@vialoagenturo)

    Hello Dragos,

    thank you for the information. Yes, it happens exclusively in the English language. Do you know, when the new version is going to be released?

    Dragos

    (@dragosvrejiu)

    Hello,

    We have implemented a “Remove duplicates” function which should resolve this issue.

    Please try using it and let me know if the problem is not resolved.

    Best regards,

    Hi, I’ve been dealing with this problem for over a month. The message I keep getting is “There has been a critical error on your website. – Learn more about debugging in WordPress.” when choosing the English language. Before this, the problem was error 500. Since I never received a response in the TP forum, I have been trying to solve the problem with my web hosting technical support. We have reached the point where we don’t know what else to do. I mean, we have increased memory, PHP versions, disabling all plugins, etc…. Yesterday an update was made to the TranslatePress plugin, but the problem continues.
    I don’t understand when you say above: “We have implemented a “Remove duplicates” function which should resolve this issue.”
    What is the solution?
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Out of memory issue’ is closed to new replies.