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.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Bigul 10 months, 2 weeks ago.

Assisted by: Bigul.

Author Posts
January 2, 2024 at 7:47 am

Atiq Rahman

WordPress database error Unknown column 'wpml_translations.language_code' in 'where clause' for query

January 2, 2024 at 8:43 am
January 12, 2024 at 7:03 am #15177286

Atiq Rahman

Still no update?

January 12, 2024 at 11:28 am #15178627

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

I am Bigul from the WPML support team. Shekhar is off today. So I am taking care of this ticket and hope it will be okay for you.

One doubt. Are you still having the DB error in - hidden link? Because it is not showing the error for me. But I can see the DB error in - hidden link

Therefore the issue is only happening in the staging site? Please check and let us know your feedback.

--
Thanks!

Bigul

January 18, 2024 at 7:26 am #15198189
Atiq Rahman

Hi,

Yes, Still i'm Getting same errors. also i'm getting Error on Site sitemap page which is--hidden link

Snapshot attached. also fatal error is here--Fatal error: Uncaught Exception: item should be a Collection or an array or an object
in /home/1187255.cloudwaysapps.com/jgcrfyduex/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php on line 195

Screenshot 2024-01-18 at 11.26.28 AM.png
January 18, 2024 at 7:28 am #15198206

Atiq Rahman

here is new staging site link, credential is same -- hidden link

January 18, 2024 at 3:51 pm #15201220

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the details. Please check the attached images. The following Database error is not showing in the live site or new staging site now. So please let us know the exact steps to reproduce it.

WordPress database error Unknown column 'wpml_translations.language_code' in 'where clause' for query
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts

Please note that I have opened a new ticket for the Fatal error issue. As per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the latest ticket. Please wait. Thank you for your understanding.

--
Thanks!

Bigul

2024-01-18_21h18_23.png
2024-01-18_21h13_54.png

The topic ‘[Closed] WordPress database error Unknown column 'wpml_translations.language_code' in 'where clause' for query’ is closed to new replies.