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
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.
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.
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 🙁
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
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)?