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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Waqas Bin Hasan 1 year, 10 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
March 20, 2023 at 7:34 pm #13287797

colourI

Tell us what you are trying to do?
We received an email from you saying that we had to update to WPML 4.6.1 due to a recently discovered vulnerability.
So we updated the plugin and had to disable it because it causes a fatal error.
We tested the updates first on hidden link

error_wpml_string.JPG
March 21, 2023 at 6:43 am #13290111

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Before proceeding further, may I ask you to try the following?

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

- Deactivate all plugins except WPML and its addons and check for the issue.
- Activate each plugin one-by-one, while keeping check on the issue after a plugin is activated. This way you'll be able to pinpoint a plugin having a conflict (or problem), if any. You can also check for plugin compatibility with WPML at https://wpml.org/plugin/.
- If the problem persists, repeat the above steps with a default theme of WordPress (i.e. 2023).
- Also check the browser's console for any JavaScript errors. If you find any, copy that in your next reply. See https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/ for details on how to find these errors.

Please let me know and I'll try my best to further assist you on the matter.

Regards.

March 22, 2023 at 10:53 am #13303615

colourI

Hi

The problem only exists with WPML String Translation 3.2.4. We disable all plugin except for WPML String Translation 3.2.4. and and get the error

"Fatal error: Uncaught Error: Class "WPML_ST_Settings" not found in /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/App.php:28 Stack trace: #0 /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/app.php(25): WPML\PB\App::run() #1 /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/loader.php(32): require_once('/home/wwwr2g/st...') #2 /home/wwwr2g/staging.r2g-engineering.com/wp-includes/class-wp-hook.php(308): {closure}('') #3 /home/wwwr2g/staging.r2g-engineering.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /home/wwwr2g/staging.r2g-engineering.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/wwwr2g/staging.r2g-engineering.com/wp-settings.php(617): do_action('init') #6 /home/wwwr2g/staging.r2g-engineering.com/wp-config.php(84): require_once('/home/wwwr2g/st...') #7 /home/wwwr2g/staging.r2g-engineering.com/wp-load.php(50): require_once('/home/wwwr2g/st...') #8 /home/wwwr2g/staging.r2g-engineering.com/wp-admin/admin.php(34): require_once('/home/wwwr2g/st...') #9 /home/wwwr2g/staging.r2g-engineering.com/wp-admin/plugins.php(10): require_once('/home/wwwr2g/st...') #10 {main} thrown in /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/App.php on line 28"

Then we changed the theme to Twenty Twenty-Three 1.0 and also got a fatal error

"Fatal error: Uncaught Error: Class "WPML_ST_Settings" not found in /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/App.php:28 Stack trace: #0 /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/app.php(25): WPML\PB\App::run() #1 /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/loader.php(32): require_once('/home/wwwr2g/st...') #2 /home/wwwr2g/staging.r2g-engineering.com/wp-includes/class-wp-hook.php(308): {closure}('') #3 /home/wwwr2g/staging.r2g-engineering.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #4 /home/wwwr2g/staging.r2g-engineering.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/wwwr2g/staging.r2g-engineering.com/wp-settings.php(617): do_action('init') #6 /home/wwwr2g/staging.r2g-engineering.com/wp-config.php(84): require_once('/home/wwwr2g/st...') #7 /home/wwwr2g/staging.r2g-engineering.com/wp-load.php(50): require_once('/home/wwwr2g/st...') #8 /home/wwwr2g/staging.r2g-engineering.com/wp-admin/admin.php(34): require_once('/home/wwwr2g/st...') #9 /home/wwwr2g/staging.r2g-engineering.com/wp-admin/plugins.php(10): require_once('/home/wwwr2g/st...') #10 {main} thrown in /home/wwwr2g/staging.r2g-engineering.com/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/App.php on line 28
Ocorreu um erro crítico neste site. Por favor, verifique o email "

r2g_fatal_error.JPG
March 22, 2023 at 11:24 am #13304025

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for the updates.

Looks like this happened due to some corrupt plugin file which may happen during an update, due to a broken or timed out connection.

To fix this, try these steps:

IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised.

1) Deactivate existing WPML plugins.
2) Connect to your site via FTP and browse to the /wp-content/plugins/ folder.
3) Delete WPML plugins folders.
4) Download the latest versions from https://wpml.org/account/downloads/.
5) Unzip the downloaded files in separate folders, usually when you unzip the file, it creates a folder with the name of the plugin, with zip file's content extracted into it.
6) Upload the extracted (unzipped) folder(s) via FTP, to the /wp-content/plugins/ folder.
7) Go to WP Admin -> Plugins and Activate.

Please let me know if this helps resolve the issue. Or I'll try my best to further assist you on the matter.

Regards.