Skip to content Skip to sidebar

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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 1 replies, has 2 voices.

Last updated by Kor 9 months, 3 weeks ago.

Assisted by: Kor.

Author Posts
September 26, 2024 at 5:10 pm #16226839

elinaC

Background of the issue:
I am trying to customize the site. Additionally, I cannot edit the site with Elementor nor see the header on the site with the links to WP admin, customize, edit with Elementor, etc. Link to a page where the issue can be seen: hidden link

Symptoms:
Fatal error: Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, false given in /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php:73 Stack trace: #0 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php(73): array_intersect_key(false, Array) #1 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-assets.php(41): WPML_LS_Templates->get_templates(Array) #2 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/class-wp-hook.php(324): WPML_LS_Assets->wp_enqueue_scripts_action('') #3 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/script-loader.php(2263): do_action('wp_enqueue_scripts') #6 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/class-wp-customize-manager.php(462): wp_enqueue_scripts() #7 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/class-wp-customize-manager.php(561): WP_Customize_Manager->wp_die(0, 'Non-existent changeset UUID.') #8 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/class-wp-hook.php(324): WP_Customize_Manager->setup_theme('') #9 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #10 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-settings.php(630): do_action('setup_theme') #12 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-config.php(102): require_once('/var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-settings.php') #13 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-load.php(50): require_once('/var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-config.php') #14 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-blog-header.php(13): require_once('/var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-load.php') #15 /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/index.php(17): require('/var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-blog-header.php') #16 {main} thrown in /var/www/vhosts/elinacharalampous.gr/loving-ardinghelli.185-138-42-18.plesk.page/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php on line 73

Questions:
How can I resolve the fatal error when trying to customize the site?
Why can't I edit the site with Elementor or see the header with links to WP admin, customize, and edit with Elementor?

September 26, 2024 at 5:13 pm #16226914

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

Here is the ticket. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

The topic ‘[Closed] Cannot customize site’ is closed to new replies.