Skip to content Skip to sidebar

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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 5 replies, has 0 voices.

Last updated by Dražen 2 months, 4 weeks ago.

Assisted by: Dražen.

Author Posts
August 8, 2025 at 5:11 am #17304075

gorM

Background of the issue:
I am trying to reorder the product list on my website. I encountered an error when attempting to move products up or down. I made updates yesterday. Here is the link to the page where the issue can be seen: hidden link. With debug, I got an issue that it's coming: [07-Aug-2025 19:56:17 UTC] WordPress database error You can't specify target table 'posts' for update in FROM clause for query UPDATE pak_iki_sec_db_posts posts JOIN pak_iki_sec_db_icl_translations trans ON posts.ID = trans.element_id AND trans.element_type = 'post_product' SET posts.menu_order = ( SELECT menu_order FROM pak_iki_sec_db_posts JOIN pak_iki_sec_db_icl_translations ON ID = element_id AND element_type = 'post_product' WHERE language_code = 'hy' AND trid = trans.trid ) WHERE trans.language_code <> 'hy'.

Symptoms:
I see a loading icon when trying to move products, and I can't reorder them. The sorting isn't working as expected.

Questions:
How can I fix the database error when reordering products?
Why is the loading icon appearing and preventing product movement?

August 11, 2025 at 5:58 am #17308090

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

please try to disable WPML plugins and check if the issue still happens.

Please make sure to create a backup, before doing any actions, just in case.

Let me know how it goes.

Regards,
Drazen

August 11, 2025 at 4:21 pm #17310890

gorM

Disabled the WPML and the issue still in the website.

In English it's ok. but in Armenian and Russian reordering giving me infinity loading

August 12, 2025 at 6:43 am #17312130

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

as I understood from your reply, the issue still happens when WPML is disabled, correct?

If yes, then the issue is not caused by WPML, and you should probably check further with other plugins / themes disabled and contact the relevant developer.

Let me know if I understood it wrongly.

Regards,
Drazen

August 12, 2025 at 6:54 pm #17314896

gorM

No. something misunderstand. as without WPML there are no languages except of English the issue not happening. I gave you all the details. Can you just check why it happened and how to fix.

August 13, 2025 at 7:04 am #17315624

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

you mentioned in your reply: "Disabled the WPML and the issue still in the website."

That is why I assumed it still happens. Please check one more thing before we proceed.

Can you please try next:

- Make sure you have a backup.
- Disable all other plugins and leave active only WPML plugins
- Switch to WP default theme
- Check if the issue still happens.

Let me know how it goes.

Regards,
Drazen

The topic ‘[Closed] Can’t reorder the products’ is closed to new replies.