Skip Navigation

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.

Tagged: ,

This topic contains 11 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 6 months ago.

Assisted by: Osama Mersal.

Author Posts
November 10, 2023 at 6:20 am #14772417

sergeyD-7

Hello,

1. When I try to edit a post, for one second I see the warning (see enclosed screenshot 49). Then, one second later the post opens normally for editing.

I googled for the error, and I found this thread on your support forum:
https://wpml.org/forums/topic/php-notice-undefined-property-stdclassstatus_id-in/

From that discussion I understand it is something to do with registration key.
I deregistered the site and registered it again, but the warning is still there every time.

2. Just for your information. I also had another warning in the Languages section of WPML (see screenshot 50 enclosed):

WPML plugin cannot connect to wpml.org
WPML needs to connect to its server to check for new releases and security updates. Something in the network or security settings is preventing this. Please allow outgoing communication to wpml.org to remove this notice.

But after I deregistered and registered my web site this error has gone.

Can you help me to identify and eliminate the issue?

Screenshot_49.jpg
Screenshot_50.jpg
November 12, 2023 at 9:51 am #14783409

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply due to a higher workload. Please let me know if you see this warning on the front end.

Also, following these steps, please check if the issue persists in a minimal environment.

1- Deactivate all the plugins except WPML CMS.
2- Switch to a WordPress default theme like Twenty Twenty-one.

If the issue is gone, activate them one by one to see which one is causing an interaction issue.

❌ Please backup your database before performing the above test ❌

Best regards,
Osama

November 16, 2023 at 6:20 pm #14829831

sergeyD-7

Hello Osama,
Sorry for delayed reply as I was travelling.
I switched to TwentyTwentyFour theme and deactivated all plugins except for WPML CMS as you requested. The issue was not resolved.
Are there any other advices?

November 17, 2023 at 2:57 pm #14864175

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please check if you have a firewall rule or a security plugin that prevents WPML calls.

Also, please try the following steps:

1- Go to WPML-> Plugins-> Add New
2- Deregister WPML
3- Go to WPML account-> Sites (https://wpml.org/account/sites/)
4- Delete the live site key
5- Register a new one
6- Go to your site's dashboard and add the new key

Best regards,
Osama

November 20, 2023 at 8:08 pm #14880699

sergeyD-7

Hello Osama,
I did it twice before. It did not work.
Also, I did following. I made a full backup of working site (which I use as a donor for this site). Then I restored that working site on my current domain.
The issue appeared immediately after I added new languages. But I cannot say exactly at which moment.
Then I again removed the registration and registered it again. It did not help.

November 21, 2023 at 7:35 am #14882511

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Do you have security rules or CDN on this site you don't have on the working site?

If yes, please turn off all security rules and deactivate the CDN to check if that fixes the issue.

Best regards,
Osama

November 21, 2023 at 11:57 am #14886089

sergeyD-7

I did not setup any security rules. And I deactivated all the plugins including CDN plugin (EWWW). But the issue was not resolved.

November 21, 2023 at 12:15 pm #14886287

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) Please let me know if the working site and this site are hosted on the same server.

2) I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

November 21, 2023 at 12:51 pm #14886819

sergeyD-7

I have sent the credentials. Please also note that the issue appears only in one language which is Russian.
And I have just discovered that for some reason my old articles from Ukrainian language have been copied to English language while Turkish language is empty... I don't know why that happened, I am quite sure I did not do it intentionally.

November 21, 2023 at 1:19 pm #14887221

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) Thanks for the access details. I updated the home page in the default language and its translation but didn't see the issue. Please let me know the steps to reproduce the issue.

2) The missing Turkish posts could be a migration corruption, so please check if the migration process went correctly.

Also, I noticed that the Ukranian language is turned off in WPML-> Languages.

Best regards,
Osama

November 21, 2023 at 2:11 pm #14887737

sergeyD-7

1) Please see this link for replication of the issue:
hidden link
2) Sorry for my poor explanation. The original site was in Ukrainian and Russian language.
On the new site I want to use only English and Turkish languages, but some of the content will be used from Russian language. So my idea was to translate the articles from Russian and just keep it hidden.
I copied the original web site to the new location. Then I added Turkish and English languages, removed Ukrainian language and hid the Russian language. I also made English language to be main language of the new web site.
So I do not expect any content to be in English or Turkish languages as I have neither created it nor copied it from other languages.
So it is very strange that there are 36 posts in English language and 0 in Turkish, while Russian langauge contains 162 posts.

November 21, 2023 at 2:26 pm #14887903

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) Thanks for your video. I see the warning appears when the post-edit page is refreshed, but the translation editor (ATE) is working correctly, so you can ignore this warning.

2) Please delete the Ukrainian posts appearing in English and start translating from Russian.

Changing the default language from Ukrainian to English could cause some posts from the old default language to be transferred to the new one.

Best regards,
Osama

November 23, 2023 at 8:32 am #14904745

sergeyD-7

Noted.
1) The error keeps appearing but I will just ignore it.
2) I understand the posts from old language just moved to new languages my error, but I must just ignore it.