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?