Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 7 replies, has 0 voices.

Last updated by zakW 28 minutes ago.

Assisted by: Bruno Kos.

Author Posts
July 4, 2025 at 3:26 pm #17202511

zakW

Background of the issue:
I found an error on the logs and need to understand why it's happening. We found this error on the error log: 2025/07/04 14:54:15 [error] 11480#11480: *479993 FastCGI sent in stderr: "PHP message: objectcache.notice: The cache key `product_cat` is incompatible with prefetching and the group `WPML_Slug_Translation_Records::taxonomy` should be added to the list of non-prefetchable groups. For more information see: hidden link; PHP message: objectcache.notice: The cache key `product_tag` is incompatible with prefetching and the group `WPML_Slug_Translation_Records::taxonomy` should be added to the list of non-prefetchable groups. For more information see: hidden link" while reading response header from upstream, client: 66.249.68.39, server: woocommerce-245274-4383778.cloudwaysapps.com, request: "GET /wp-content/uploads/breeze/facebook/fbevents.js HTTP/1.1", upstream: "hidden link:", host: "www.pro-carbonracing.com", referrer: "hidden link". We need to know how important this is and how to fix it. I don't know if this is affecting other parts of the website.

Symptoms:
The error log shows that the cache key `product_cat` and `product_tag` are incompatible with prefetching, and the group `WPML_Slug_Translation_Records::taxonomy` should be added to the list of non-prefetchable groups.

Questions:
How important is this error?
How can I fix this issue?

July 7, 2025 at 3:05 pm #17209803

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

This doesn’t usually break the site, but it may affect performance or cache consistency for things like translated slugs, especially in WooCommerce taxonomies (`product_cat`, `product_tag`).

To help clarify the situation:

1. Have you added or customized any cache groups in your object cache configuration?
2. Are you using Redis or Memcached with Object Cache Pro?
3. Did you recently make changes to how caching is handled for taxonomies or WPML-related data?

If this cache group is not excluded from prefetching, you can resolve the warning by adding it to the `non-prefetchable-groups` list as described here:
hidden link

Let me know what your current caching setup looks like, and I can help guide you further.

Best regards,
Bruno Kos

July 8, 2025 at 8:01 am #17212275

zakW

Hi Bruno

We're encountering website timeouts and plugin disabling when adding product category translations. This issue appears to be directly tied to the translation process.

Our current configuration uses Redis with Object Cache Pro and WP Rocket (preload active, no exclusions). We haven't recently adjusted cache settings or groups.

Could you advise on adding an exclusion to address this, if you believe it's the cause?

Best regards
Ruben

July 8, 2025 at 1:02 pm #17214080

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

What if you try adding the following to your object-cache.php config or wherever Object Cache Pro settings are defined (often in wp-config.php):

define('OBJECT_CACHE_PRO_CONFIG', [
    'non_prefetchable_groups' => [
        'WPML_Slug_Translation_Records::taxonomy',
    ],
]);

Does it help? Also, when you encounter timeouts during the translation, can you share server and WordPress debug logs that show at that time?

To further confirm whether caching is the root cause, you could try temporarily disabling Object Cache Pro (or Redis object caching) while performing a product category translation. If the process completes without timeouts or errors, that strongly points to cache interference.

July 8, 2025 at 3:47 pm #17215223

zakW

Hi Bruno,

I think the error is still showing
[08-Jul-2025 15:39:14 UTC] objectcache.notice: The cache key `product_cat` is incompatible with prefetching and the group `WPML_Slug_Translation_Records::taxonomy` should be added to the list of non-prefetchable groups. For more information see: hidden link
[08-Jul-2025 15:39:14 UTC] objectcache.notice: The cache key `product_tag` is incompatible with prefetching and the group `WPML_Slug_Translation_Records::taxonomy` should be added to the list of non-prefetchable groups. For more information see: hidden link

I will sent you the logs as soon as the error presents itself. I requested my client to try again and he will let me know the times for it

July 9, 2025 at 5:01 am #17216799

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Please feel free to send over the logs whenever the error presents itself. Once we have those details, we’ll be able to investigate further.

July 11, 2025 at 10:57 am #17227468

zakW

Hi Bruno.

The error is presisting and here are the details
[11-Jul-2025 10:31:29 UTC] objectcache.notice: The cache key `product_cat` is incompatible with prefetching and the group `WPML_Slug_Translation_Records::taxonomy` should be added to the list of non-prefetchable groups. For more information see: hidden link
[11-Jul-2025 10:31:29 UTC] objectcache.notice: The cache key `product_tag` is incompatible with prefetching and the group `WPML_Slug_Translation_Records::taxonomy` should be added to the list of non-prefetchable groups. For more information see: hidden link

other ones
[11-Jul-2025 10:31:52 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

woocommerce-aelia-currencyswitcher

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/245274.cloudwaysapps.com/qjezzcvrjc/public_html/wp-includes/functions.php on line 6121
[11-Jul-2025 10:31:52 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

woocommerce-wholesale-prices-premium

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/245274.cloudwaysapps.com/qjezzcvrjc/public_html/wp-includes/functions.php on line 6121
[11-Jul-2025 10:31:52 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

wp-asset-clean-up

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/245274.cloudwaysapps.com/qjezzcvrjc/public_html/wp-includes/functions.php on line 6121
[11-Jul-2025 10:31:53 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

acf

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/245274.cloudwaysapps.com/qjezzcvrjc/public_html/wp-includes/functions.php on line 6121

July 14, 2025 at 8:48 am #17232316

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Could you please provide me with the following:

- WordPress admin credentials (temporary access is fine, if preferred).
- A brief description of how and where this error occurs—for example, what actions you're taking or which page is being accessed when the message appears.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

I marked your next reply as private so that you can safely add credentials.