I am assigned this ticket and 'll try my best to help you on the matter.
Since it is a staging site, it should be fine to do the followings but of course I'll need your confirmations first:
- Deactivate plugins except the ones required.
- Update WCML and any necessary plugin.
- Take a copy of your site using Duplicator or All in one Migration plugin.
The later may be required to escalate the issue to our 2nd tier, so we can try, reproduce and find the issue in another environment. And then apply the fix on the staging and provide you the details for a fix on production.
Thank you for your patience and cooperation on this.
I've escalated the matter to our 2nd tier after running a few more tests on the staging site. Please keep the site as it is in the current state, so our team can continue and investigate accordingly.
Hi Waqas, the staging environment doesn't use cache, this is standard off at Kinsta, see print screen, please advise. ("uitgeschakeld" means "turned off")
Actually I am seeing this in staging and have been using these cache buttons and in response getting message like "Cache cleared successfully".
So I believe it is active and working. However, not sure if deactivating in your control panel still leaves these controls active for some reason, while cache is truly disabled.
Hi Waqas, the button indeed is always active, not sure why. But I'm very sure the staging isn't cached. Otherwise you can test by putting /?nocache behind the url (kinsta doesn't cache these even not on our live environment).
Our team found the issue and suggested the following workaround (temporarily):
add_filter ('the_comments', 'remove_hooks10903');
function remove_hooks10903($var) {
global $wp_filter;
foreach ( $wp_filter["the_comments"]->callbacks[10] as $key => $value ) {
if ( str_contains( $key, 'translate_product_ids' ) ) {
remove_filter( 'the_comments', $key );
}
}
return $var;
}
I've added and tested this code in your current theme's functions.php file (at end of the file). And now I can see correct flags at:
- French: hidden link
- Spanish: hidden link
Notice that I also added a comment (wpml) on Spanish version and then translated it to French as well.
Meanwhile the case has been escalated further to the dev team and they'll take care of it. This 'll probably be rolled out in a future version of the WCML plugin.
Please check and confirm, thanks.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.