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.

This topic contains 1 reply, has 2 voices.

Last updated by Bigul 8 months, 2 weeks ago.

Assigned support staff: Bigul.

Author Posts
October 30, 2019 at 2:01 pm #4856211

infoT

If I visit hidden link
I get this error.... which I can't explain.

Because if I go to hidden link I don't get this error.
Can you explain this and tell me how to fix ?

WordPress databasefout: [Unknown column 'wpml_translations.language_code' in 'where clause']
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = 'wp-adin' AND wp_posts.post_type = 'attachment' AND ( ( ( wpml_translations.language_code = 'nl' OR 0 ) AND wp_posts.post_type IN ('page','attachment','wp_block' ) ) OR wp_posts.post_type NOT IN ('page','attachment','wp_block' ) ) ORDER BY wp_posts.post_date DESC

The site is live, but apparently it's not registered yet.

October 31, 2019 at 2:55 pm #4865163

Bigul
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please login to the database and open the wp_icl_translations table. Then make sure the language_code column is existing or not.

If not, please run the following query and check the issue is existing or not(may the table prefix will be different in your case).

ALTER TABLE wp_icl_translations Add Column language_code varchar(7);

--
Thanks!

Bigul

The topic ‘[Closed] Unknown column on a 404 admin url’ is closed to new replies.