This thread is resolved. Here is a description of the problem and solution.
Problem:
The client reported that activating WPML plugins causes the MySQL binlog file to increase drastically in size, leading to very slow website performance and occasional inability to log into WP admin.
Solution:
We recommend updating the WPML plugins to the latest versions. Specifically, update WPML to version 4.6.12 and Strings Translation to 3.2.13. These updates address issues that might be causing the large binlog file. After updating, clear the debug.log to ensure that only new errors are logged. If you don't see the new versions available, please visit your WP admin's plugin installation page and click on the Check for updates button. You can find the plugin installation page here: Plugin Installation.
Please note that the preg_match() errors mentioned are not related to the issue of the MySQL binlog file.
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML Support Forum.
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.
Tagged: Performance
This topic contains 9 replies, has 2 voices.
Last updated by Itamar 4 months, 3 weeks ago.
Assisted by: Itamar.
Author | Posts |
---|---|
July 10, 2024 at 2:45 pm #15928727 | |
danielS-93 |
Background of the issue: Symptoms: Questions: |
July 11, 2024 at 5:30 am #15932148 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, I'll continue to help you with this issue. Please share WordPress's debug log (not WPML debug information). Please check this page for instructions. https://wpml.org/documentation/support/debugging-wpml/ To enable it, open your wp-config.php file and look for: define('WP_DEBUG', false); Change it to: 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); After this, repeat the action that caused the problem on your site—enable WPML to trigger the increase of the MySQL binlog file. In this case, the errors will be saved to a debug.log log file inside the /wp-content/ directory. Then, please share the errors with us. Meanwhile, I'm also consulting our second-tier supporters about this issue. Regards, |
July 11, 2024 at 5:34 am #15932175 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
In addition to the above please also share with us entries from the MySQL binlog file. Thanks, |
July 11, 2024 at 11:08 am #15934535 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, There is no need for the procedures I asked you to check. Our second-tier supporter explains the following:
expire_logs_days = 7 max_binlog_size = 20M
Please let me know if you have any further questions. Regards, |
July 14, 2024 at 9:35 am #15949866 | |
danielS-93 |
Hi Itamar, problem still persist. I activated the writing of the WP log file and in 5 minutes the file size increased by 20Mb, in 15 minutes it increased to 53Mb (74100 lines). I had to stop writing the file because it would fill up space on the server again. In the log, 99.99% of the line entries are the same, namely: It means that the text entries in the log are written by the WPML String Translation plugin. I'm sending a screenshot of the WP log file in the Attachment, because the file is 20Mb in size and I can't attach it. Kind, Daniel |
July 14, 2024 at 9:37 am #15949867 | |
danielS-93 |
A screenshot of WP log file. |
July 14, 2024 at 10:50 am #15949988 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, This warning message is a known issue that has been escalated to our developers. It is an issue with PHP version 8.2. Can you please tell me what the PHP version of your server is? Regards, |
July 14, 2024 at 11:10 am #15950005 | |
danielS-93 |
PHP version: 8.1.2-1ubuntu2.17 Kind, Daniel |
July 14, 2024 at 5:45 pm #15950591 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Thanks, Daniel. I've shared this with our second-tier supporter and will update you once I receive his reply. I appreciate your patience. |
July 17, 2024 at 9:27 am #15965171 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+02:00) |
Hi, We have new versions for WPML (4.6.12) and Strings Translation (3.2.13). The latest Strings Translation version should fix deprecated notices. Please update our plugins to the latest versions and check if the problem persists. Please clear the debug.log to check for only new errors. If you don't see we have new versions, please go to hidden link and click the Check for updates button. Please note that the preg_match() errors are not related to your initial report about the MySQL binlog file. Regards, |