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 0 voices.

Last updated by annaT-15 2 months ago.

Assisted by: Bigul.

Author Posts
February 12, 2025 at 8:42 am #16694619

annaT-15

Background of the issue:
My site has been auto-updated to the newest WordPress version, and today I wanted to update my plugins. After trying to update WPML, the update got stuck and the site crashed. I went to Add new plugin - Commercial - WPML, clicked on search for updates, then I ticked the checkboxes on all updates and clicked update. Link to a page where the issue can be seen: hidden link (I have reversed everything via backup).

Symptoms:
Update got stuck loading and the site crashed. PHP Warning: include(/home/w0efpec/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/block-editor/Blocks/LanguageSwitcher/Parser.php): failed to open stream: No such file or directory. PHP Fatal error: Uncaught Error: Class 'WPMLConvertIds' not found in /home/w0efpec/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-store-pages.php:205.

Questions:
Why did the update get stuck and cause the site to crash?
How can I safely update WPML?

February 12, 2025 at 9:19 am #16694875

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

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

Maybe the bug you have faced while upgrading is related to this known issue - https://wpml.org/errata/fatal-error-updating-wpml-4-7/

So please upgrade WPML plugins in the following order after a full site backup and make sure they are working as expected or not.

1) WPML Multilingual CMS
2) WPML String Translation
3) WPML Media Translation
4) WooCommerce Multilingual & Multicurrency
5) WPML CMS Nav
6) WPML Sticky Links

--
Thanks!

Bigul

February 13, 2025 at 9:35 am #16700937

annaT-15

I will wait until the fix is released and then update, thanks