Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

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.

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.

Tagged: ,

This topic contains 1 reply, has 0 voices.

Last updated by Andrey 1 week ago.

Assisted by: Andrey.

Author Posts
April 7, 2025 at 1:13 pm #16904620

margitE-2

Background of the issue:
I updated WPML plugins, specifically sitepress-multilingual-cms, and encountered an error. The frontend works fine, but I cannot access the backend of the admin. Disabling the plugin removes the error, but takes away the functionality.. Link to the issue: hidden link

I would like to provide you with the debug info, but cannot access the admin when the plugin is active, I need to disable it to acces backend, but the the plugin functionality isn't there to copy the debug log.

Symptoms:
Uncaught Error: Call to undefined function icl_get_string_translations_by_id() in /data01/virt59371/domeenid/www.etfl.ee/htdocs/wp-content/plugins/wpml-string-translation/inc/package-translation/inc/wpml-package.class.php on line 326.

Questions:
How could I get rid of that error?
How can I access the backend of the admin?

April 7, 2025 at 3:40 pm #16905247

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I'm sorry to hear that you're experiencing issues with this.

Please log in via FTP to your wp-content/plugins/ folder and delete the wpml-string-translation plugin. After doing this, you should have access to your dashboard.
Once you're logged in, go to Plugins -> Add New -> Commercial, press the "Check for updates" button, and install the latest version of the WPMLStringTranslation plugin.