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.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

This topic contains 2 replies, has 2 voices.

Last updated by Itamar 11 months, 1 week ago.

Assisted by: Itamar.

Author Posts
May 20, 2024 at 2:02 pm #15646248

Rodrigo

Hi, we are having a fatal error issue when we update the PHP version to 8+

Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/CommandsStatus.php:44 Stack trace: #0 /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/CommandsStatus.php(44): array_key_exists('wpml-tm-upgrade...', '10') #1 /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/CommandsStatus.php(14): WPMLUpgradeCommandsStatus->get_update_option_value('wpml-tm-upgrade...') #2 /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(143): WPMLUpgradeCommandsStatus->hasBeenExecuted('WPML_TM_Upgrade...') #3 /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(131): WPML_Upgrade->run_command(Object(WPML_Upgrade_Command_Definition), 'maybe_run_front...') #4 /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(124): WPML_Upgrade->run_commands(Array, 'maybe_run_front...') #5 /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-upgrade.php(83): WPML_Upgrade->run_front_end() #6 /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/class-wpml-tm-upgrade-loader.php(99): WPML_Upgrade->run() #7 /var/www/wp-includes/class-wp-hook.php(324): WPML_TM_Upgrade_Loader->wpml_tm_upgrade('') #8 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /var/www/wp-settings.php(695): do_action('init') #11 /var/www/wp-config.php(110): require_once('/var/www/wp-set...') #12 /var/www/wp-load.php(50): require_once('/var/www/wp-con...') #13 /var/www/wp-blog-header.php(13): require_once('/var/www/wp-loa...') #14 /var/www/index.php(17): require('/var/www/wp-blo...') #15 {main} thrown in /var/www/wp-content/plugins/sitepress-multilingual-cms/classes/upgrade/CommandsStatus.php on line 44

May 20, 2024 at 2:50 pm #15646542

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Please reply to this ticket if you need further help with the fatal error you were getting.

If you need further help with this, please share the access details.
I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

May 21, 2024 at 6:44 am #15648016

Itamar
WPML Supporter since 02/2016

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I've discussed this issue with our second-tier supporter. He said that if the problem continues, we will need to check things further. We will need your permission to take a copy of your site for this. So, if you need further help, please let us have access to your site and allow us to install a plugin like Duplicator or All In One Migration to take a copy of your site.

If you need further help with this, please share the access details to your site with me.
I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

The topic ‘[Closed] Fatal error: Uncaught TypeError: array_key_exists()’ is closed to new replies.