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: Exception
This topic contains 1 reply, has 2 voices.
Last updated by Prosenjit Barman 1 year, 4 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
August 22, 2023 at 1:40 pm #14271773 | |
michelV-43 |
I am trying to: create a new site in multisite setup Link to a page where the issue can be seen: I expected to see: the new site created in the backend Instead, I got: Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, bool given in /data/sites/web/01kiwanisbe/www/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php:169 Stack trace: #0 /data/sites/web/01kiwanisbe/www/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php(169): array_key_exists('custom_fields_c...', false) #1 /data/sites/web/01kiwanisbe/www/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php(83): WPML\SL\CustomFields->getSettings() #2 /data/sites/web/01kiwanisbe/www/wp-includes/class-wp-hook.php(310): WPML\SL\CustomFields->convertUrlsInCustomField(2, 3, '_elementor_edit...', 'builder') #3 /data/sites/web/01kiwanisbe/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #4 /data/sites/web/01kiwanisbe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /data/sites/web/01kiwanisbe/www/wp-includes/meta.php(156): do_action('added_post_meta', 2, 3, '_elementor_edit...', 'builder') #6 /data/sites/web/01kiwanisbe/www/wp-includes/meta.php(252): add_metadata('post', 3, '_elementor_edit...', 'builder') #7 /data/sites/web/01kiwanisbe/www/wp-includes/post.php(2548): update_metadata('post', 3, '_elementor_edit...', 'builder', '') #8 /data/sites/web/01kiwanisbe/www/wp-includes/post.php(4578): update_post_meta(3, '_elementor_edit...', 'builder') #9 /data/sites/web/01kiwanisbe/www/wp-content/plugins/elementor/core/kits/manager.php(179): wp_insert_post(Array) #10 /data/sites/web/01kiwanisbe/www/wp-content/plugins/elementor/includes/maintenance.php(113): Elementor\Core\Kits\Manager::create_default_kit() #11 /data/sites/web/01kiwanisbe/www/wp-content/plugins/elementor/includes/maintenance.php(101): Elementor\Maintenance::create_default_kit(Array) #12 /data/sites/web/01kiwanisbe/www/wp-includes/class-wp-hook.php(312): Elementor\Maintenance::Elementor\{closure}(4) #13 /data/sites/web/01kiwanisbe/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #14 /data/sites/web/01kiwanisbe/www/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #15 /data/sites/web/01kiwanisbe/www/wp-includes/plugin.php(746): do_action_ref_array('wpmu_new_blog', Array) #16 /data/sites/web/01kiwanisbe/www/wp-includes/ms-site.php(141): do_action_deprecated('wpmu_new_blog', Array, '5.1.0', 'wp_initialize_s...') #17 /data/sites/web/01kiwanisbe/www/wp-includes/ms-functions.php(1401): wp_insert_site(Array) #18 /data/sites/web/01kiwanisbe/www/wp-admin/network/site-new.php(144): wpmu_create_blog('zaventemairport...', '/', 'Zaventemairport', 2, Array, 1) #19 {main} thrown in /data/sites/web/01kiwanisbe/www/wp-content/plugins/wpml-sticky-links/classes/custom-fields.php on line 169 |
August 23, 2023 at 9:03 am #14276187 | |
Prosenjit Barman Supporter
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I checked the Error logs and understood the issue. I'm suspecting that the issue is happening due to the PHP version. Would you please check what happens if you switch to PHP 7.4? I also would like to inform you that the Sticky Link plugin has a specific purpose of preventing links between pages and posts from ever breaking. Please check this documentation for a better understanding: https://wpml.org/documentation/getting-started-guide/sticky-links/ Are you using any of the features from this plugin? If not, you can keep the plugin disabled to avoid the error. Please let me know the update. I will be happy to help if you need further assistance in this matter. Best Regards, |