Problem: After updating the WPML plugins, specifically sitepress-multilingual-cms, you encountered an error that prevents access to the WordPress admin backend. Disabling the plugin allows backend access but removes the functionality.
Uncaught Error: Call to undefined function icl_get_string_translations_by_id() in /wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package.class.php on line 326
Solution: 1. Log in via FTP to your wp-content/plugins/ folder. 2. Delete the wpml-string-translation plugin to regain access to your dashboard. 3. Once logged in, navigate to Plugins -> Add New -> Commercial. 4. Press the "Check for updates" button and install the latest version of the WPML String Translation plugin.
If this solution does not resolve your issue or seems outdated, we recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.