Keeps Spinning optimizing gettext database tables in the background
-
Hello, more than 24 hours and still keeps spinning. Please help,

-
I’ve been watching spinning classes for two weeks.
Hello @alfanurrizal,
Thank you for contacting us!
I see you mention the optimization has remained on the same step for more than 24 hours. We’d first like to confirm that WordPress is able to process background tasks correctly.Please go to Tools → Site Health → Status and check for any errors related to:
- Loopback requests
- Scheduled events
In particular, please look for messages such as:
- “Your site could not complete a loopback request”
- “A scheduled event has failed”
- “A scheduled event is late”
Please also check your
wp-config.phpfile for the following setting:define( 'DISABLE_WP_CRON', true );If
DISABLE_WP_CRONis set totrue, please confirm with your hosting provider that a server-level cron job is configured to invokewp-cron.phpregularly.Please also check if you have any PHP or server error-log entries generated since the update, especially entries mentioning TranslatePress,
admin-ajax.php, SQL errors, memory limits, or execution timeouts.These checks will help us determine whether background processing is preventing the optimization from progressing.
Please also let me know on what version of TranslatePress Multilingual you are currently.
Looking forward to your reply.
Hello @iarinadasdi
Thank you for your response.
I have completed the requested checks and found the following:
1. WordPress Site Health
The Site Health status reports the following issues:
- “A scheduled event has failed”
- “Your site could not complete a loopback request”
2. wp-config.php
I checked the
wp-config.phpfile and did not find define( ‘DISABLE_WP_CRON’, true );3. Server Error Logs
I checked the error logs in the Plesk control panel and did not find any PHP or server errors related to:
- TranslatePress, or
admin-ajax.php, or- SQL errors, or
- Memory limit issues, or
- Execution timeouts, or
4. TranslatePress Version
The currently installed version of TranslatePress Multilingual is 3.3.3.


-
This reply was modified 2 weeks, 6 days ago by
Alfanur Rizal.
Hi,
Thank you for your response and for the screenshots!
Could you please let us know if you’re using any security plugin on your site, such as Wordfence, or any server-side security measures, or Basic Auth protection?
Hi @iarinadasdi
Yes, i am using WP 2FA – Two-factor authentication for WordPress by Melapress for two-factor authentication.
What should I do next?
Kind regards,
Hi,
Thank you for confirming!
This WP 2FA should not interfere with the TranslatePress background optimization, so you can keep it enabled.
However, the HTTP 403 loopback error indicates that a firewall or server-side security rule is blocking requests made by your website to itself. Since the site uses Cloudflare, please check Cloudflare’s Security Events for blocked requests to:
- /wp-admin/admin-ajax.php
- /wp-cron.php
You may need to ask your hosting provider to identify the server’s outbound IP address and allowlist it in Cloudflare or the server firewall. Once the loopback error no longer appears under Tools → Site Health, please try the TranslatePress optimization again.
Once the optimization process completes successfully, you will no longer need to keep that allowlist entry in place, as it is only required for the duration of the process itself.
Let me know how it goes after this.
You must be logged in to reply to this topic.