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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Tagged: 

This topic contains 13 replies, has 0 voices.

Last updated by Otto 2 weeks ago.

Assisted by: Otto.

Author Posts
November 28, 2025 at 1:39 pm #17618296

danielD-143

I will test it with new php.ini values

Also I have error on edit product page
SES_UNCAUGHT_EXCEPTION: ReferenceError: wp is not defined
<anonymous>wp-admin/post.php?post=1832024&action=edit&lang=pl:125
<anonymous>wp-admin/post.php?post=1832024&action=edit&lang=pl:139

From this script
<script type="text/javascript">
wpml_background_tasks = {"endpoints":[{"endpoint":"WPML\BackgroundTask\BackgroundTaskLoader","nonce":"68ae2e045b"}],"tasks":[]}</script>
<script type="text/javascript">
(function() {
wp.data.dispatch("core/notices").createNotice(
'warning',
'Musisz ręcznie przetłumaczyć ten wpis, ponieważ dołączone do niego grupy pól używają różnych opcji tłumaczenia.',
{
id: 'acfml_post_edit_translation_notice',
isDismissible: true,
actions: [
{
url: 'https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/?utm_source=plugin&utm_medium=gui&utm_campaign=acfml&utm_content=manual-translation',
label: 'Przejdź do dokumentacji'
}
]
}
);
})();
</script>
This error block execute of other scripts

November 28, 2025 at 1:49 pm #17618308

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Can you please update WPML and its addons to the latest version? ❌ Please make a full website backup before proceeding ❌

I suggest you try this to help us identify if it might be a conflict with another plugin or theme that is causing the problem.
**IMPORTANT:** Please try this in a staging environment or at least with a backup of your site files and database before continuing.
Disable all plugins except ACF, WooCommerce and WPML-related and temporarily change the theme to a default WordPress such as Twenty Twenty-five.
Is the issue resolved with these settings? If so, please reactivate one by one to see which conflicts.

Let me know your results, please.

Best Regards,
Otto

December 1, 2025 at 9:50 am #17621890

danielD-143

All plugins are in latest version
Switching theme to 2025/store front -> nothing change, the same error in console

Only disabling ACF plugin helped

December 1, 2025 at 2:25 pm #17622935

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue.
It would be better to a testing site where the issue is replicated.

The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I'll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site.
This will allow me to create a copy of your site and your content.
Once the problem is resolved I will delete the local site.

**IMPORTANT**
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields.

Best Regards,
Otto

December 2, 2025 at 2:43 pm #17627046

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

I noted that the WPML menu does not have all the sub-menus, and WooCommerce does not have the WCML sub-menu. When I try to access them with the direct URL, I get an error.

Is this intentional? Where are these limitations coming from? Can I disable all the unrelated plugins in your dev site?

I tried to create a copy of the site to debug locally but it does not work 🙁

Best Regards,
Otto

December 3, 2025 at 6:50 am #17629108

danielD-143

I see WCML: hidden link and WPML dropdowns menu: hidden link, so that's very strange, that you doesn't have these elements

December 3, 2025 at 7:30 am #17629213

danielD-143

Found another bug.
New user which is also admin, doesn't have enough capabilities. So this is probably another bug, when creating new one user (admin) it have only "administrator" capability, but should have full wpml capabilities like:
a:17:{s:13:"administrator";b:1;s:34:"wpml_manage_translation_management";b:1;s:21:"wpml_manage_languages";b:1;s:41:"wpml_manage_theme_and_plugin_localization";b:1;s:19:"wpml_manage_support";b:1;s:36:"wpml_manage_woocommerce_multilingual";b:1;s:37:"wpml_operate_woocommerce_multilingual";b:1;s:29:"wpml_manage_media_translation";b:1;s:22:"wpml_manage_navigation";b:1;s:24:"wpml_manage_sticky_links";b:1;s:30:"wpml_manage_string_translation";b:1;s:33:"wpml_manage_translation_analytics";b:1;s:25:"wpml_manage_wp_menus_sync";b:1;s:32:"wpml_manage_taxonomy_translation";b:1;s:27:"wpml_manage_troubleshooting";b:1;s:31:"wpml_manage_translation_options";b:1;s:9:"translate";b:1;}

New one admin capabilities: hidden link
Old admin: hidden link

I copied full capabilities from old admin to new admin and everything working correctly

December 3, 2025 at 12:26 pm #17630663

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

Let's focus on the error on the edit page first.

I noted that Advanced Custom Fields PRO is quite outdated (6.3.1.2 => 6.6.2). Can you please update it and check if the problem persists (with a minimal setup: ACF + WPML and addons + default theme)?

Best Regards,
Otto

December 4, 2025 at 8:34 am #17632903

danielD-143

I tested again after update ACF.
Nothing change
After disable ACF error is hide

December 4, 2025 at 1:58 pm #17634688

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

Can you please try this workaround?

❌ Please make a full website backup before proceeding ❌

In:
\acfml\classes\Post\MixedFieldGroupModesHooks.php:L15

replace:

Hooks::onAction( 'wp_print_scripts' )->then( [ $this, 'displayWarningOnGutenberg' ] );

with

Hooks::onAction( 'admin_head', 99 )->then( [ $this, 'displayWarningOnGutenberg' ] );

Let me know if this helps, please.

Best Regards,
Otto

December 5, 2025 at 9:45 am #17637528

danielD-143

console error did not appear
What about plugin updates after this change?

December 5, 2025 at 12:37 pm #17638474

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks for confirming it works.

The issue is escalated to the development team. But at this point, I can't provide an estimation in which release it will be included.

Until that, you may need to re-apply the workaround after performing an update.

I'll set the ticket status to escalated to the dev team, so when the fix is released I'll let you know.

Best Regards,
Otto

December 5, 2025 at 1:29 pm #17638751
danielD-143

Thank you
What about capabilities after create admin user?

New threads created by Otto and linked to this one are listed below:

https://wpml.org/forums/topic/when-i-create-a-new-user-it-does-not-have-wpml-capabilities/

December 5, 2025 at 4:01 pm #17639270

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I created a new ticket for the other issue:
https://wpml.org/forums/topic/when-i-create-a-new-user-it-does-not-have-wpml-capabilities/

I'll follow up there.

Best Regards,
Otto