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?
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.