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.

This topic contains 1 reply, has 1 voice.

Last updated by katalinZ 1 year ago.

Assigned support staff: Marcel.

Author Posts
July 26, 2019 at 7:28 am #4287887



I can not add new page with active wpml. If I deactivate it, i can add new pages again.
I got a letter with this:

A(z) /inclust-ssd/p3/2925/web/ fájl 32 sora egy E_ERROR típusú hibát okoz. Hibaüzenet: Uncaught InvalidArgumentException: element_id and type do not match for element_id:1401 the database contains post_attachment while this function was called with post_page in /inclust-ssd/p3/2925/web/
Stack trace:
#0 /inclust-ssd/p3/2925/web/ WPML_Set_Language->set(1401, 'post_page', false, 'hu', NULL, true)
#1 /inclust-ssd/p3/2925/web/ SitePress->set_element_language_details(1401, 'post_page', false, 'hu', NULL)
#2 /inclust-ssd/p3/2925/web/ WPML_Post_Translation->maybe_set_elid(false, 'page', 'hu', 1401, NULL)
#3 /inclust-ssd/p3/2925/w

What can I do?



July 26, 2019 at 8:12 am #4288249


My issue is resolved now. Thank you!