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.

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 1 year, 8 months ago.

Assisted by: Mihai Apetrei.

Author Posts
August 9, 2022 at 12:28 pm #11832025

andreB-37

I am trying to:
Update WPML String Translation from version 3.2.0 to 3.2.1 is causing a server error 500. wordpress is no longer accessible. I tried with WPML installer and manual plugin upload.

Link to a page where the issue can be seen:
then: hidden link

I expected to see:
An successful plugin update.

Instead, I got:

This error message:

 This plugin failed to load properly and is paused during recovery mode.

An error of type E_ERROR was caused in line 50 of the file /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/wpml-string-translation/classes/slug-translation/taxonomy/wpml-st-tax-slug-translation-settings.php. Error message: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/wpml-string-translation/classes/slug-translation/taxonomy/wpml-st-tax-slug-translation-settings.php:50 Stack trace: #0 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/wpml-string-translation/classes/slug-translation/taxonomy/wpml-st-tax-slug-translation-settings.php(11): WPML_ST_Tax_Slug_Translation_Settings->init() #1 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/wpml-string-translation/classes/slug-translation/wpml-st-slug-translation-settings-factory.php(19): WPML_ST_Tax_Slug_Translation_Settings->__construct() #2 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/wpml-string-translation/classes/slug-translation/wpml-slug-translation-factory.php(23): WPML_ST_Slug_Translation_Settings_Factory->create('taxonomy') #3 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(144): WPML_Slug_Translation_Factory->create() #4 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(92): WPML_Action_Filter_Loader->run_factory(Object(WPML_Slug_Translation_Factory)) #5 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(76): WPML_Action_Filter_Loader->load_factory(Object(WPML_Slug_Translation_Factory)) #6 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(45): WPML_Action_Filter_Loader->load_factory_or_action('WPML_Slug_Trans...', false) #7 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/wpml-string-translation/inc/wpml-string-translation.class.php(121): WPML_Action_Filter_Loader->load(Array) #8 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/class-wp-hook.php(307): WPML_String_Translation->load('') #9 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #10 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #11 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-management.php(105): do_action('wpml_tm_loaded') #12 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/sitepress-multilingual-cms/tm.php(74): WPML_Translation_Management->load() #13 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/class-wp-hook.php(307): wpml_tm_load(Object(SitePress)) #14 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #15 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #16 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(527): do_action('wpml_loaded', Object(SitePress)) #17 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/class-wp-hook.php(307): SitePress->init('') #18 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #19 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #20 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-settings.php(461): do_action('plugins_loaded') #21 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-config.php(130): require_once('/www/htdocs/w01...') #22 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-load.php(50): require_once('/www/htdocs/w01...') #23 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-admin/admin.php(34): require_once('/www/htdocs/w01...') #24 /www/htdocs/w01ade75/bp-staging.wmk-dev.de/wp-admin/index.php(10): require_once('/www/htdocs/w01...') #25 {main} thrown

Where can i savely post ftp and wordpress access data?

Thank you.

Greetings
Christian Blum

Bildschirmfoto vom 2022-08-09 14-24-33.png
August 9, 2022 at 2:24 pm #11833001

Mihai Apetrei
Supporter

Languages: English (English )

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

Hi there, Christian.

Usually, the 500 errors are related to the server configuration or limitations.

You can check our documentation to see if you meet all the WPML minimum requirements here: https://wpml.org/home/minimum-requirements/

Also, please take a look here:
https://wpml.org/faq/500-error

Also, make sure you are running the latest WordPress and WPML versions, and that your other plugins and themes are updated to the latest version, too (for example there's a new version of WPML available - go to Plugins > Add new > Commercial > click "check for updates" button and you will see the available WPML updates in case they don't already show in your WordPress backend.

There might be a limitation that is reached when uploading the zip file so a workaround would be to transfer the whole plugin folder that contains the plugin files:

1. via FTP (as explained here: hidden link - check the "To add a plugin to your WordPress website via FTP" section).

2. you can also use a "File Manager" application (if your hosting provider has that) which would allow you to upload the zip file inside the "Plugins" folder > then extract it with the help of this application. This should be faster than transferring all the files via FTP/SFTP.

Both of these options would take the stress off the server resources and would allow you to add all the plugin files and then you could simply go to your WordPress backend > Plugins > and activate the plugin.

I hope that you will find this information helpful.

Kind regards,
Mihai Apetrei

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.