I am trying to update all my plugins and WordPress version on my website, when I do so the site gets a critical error and can't be viewed on the front end until I restore a backup or disable the plugin.
I have the following of your plugins installed:
WPML String Translation
WPML Sticky Links
WPML SEO
WPML Multilingual CMS
WPML Media
WPML CMS Nav
WPML All Import
Toolset Types
I think the "WPML String Translation" is the one with the issue.
Thank you for contacting WPML Support. I suspect you are facing a similar issue that was introduced with WordPress 6.1 with a specific pattern when you update WordPress before updating the WPML plugins. You can see more details here: https://wpml.org/changelog/2022/10/wpml-4-5-12-updates-for-wordpress-6-1/
Could you please try to follow the below steps and let me know how it goes:
1. Please take a backup of your site first for safety reasons.
2. If you have restored a backup, then please first update WPML plugins to the latest version and then update the WordPress to the newest version.
3. If you have already updated WordPress to the latest version then please update all WPML plugins to the newest version. The latest version of WPML Multilingual CMS is 4.5.14 and WPML String Translation is 3.2.3, please update manually using FTP or cPanel and see if this resolves your issue. To do a manual update please follow these steps:
- Deactivate the existing WPML plugin and add-ons.
- Delete the plugin files – this does not delete your translations. You will delete the plugin files from your "wp-content/plugins" folder, NOT the database records.