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 2 replies, has 2 voices.

Last updated by simonB-59 1 year, 5 months ago.

Assisted by: Bobby.

Author Posts
November 15, 2022 at 10:07 am #12461295

simonB-59

: Uncaught TypeError: Illegal offset type in isset or empty in /home/lemanagement/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php:259 Stack trace: #0 /home/lemanagement/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php(60): WPML_Element_Translation->maybe_populate_cache(Array) #1 /home/lemanagement/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(4583): WPML_Element_Translation->element_id_in(Array, 'sv') #2 /home/lemanagement/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/template-functions.php(381): SitePress->get_object_id(Array, 'attachment', true, 'sv') #3 /home/lemanagement/public_html/wp-includes/class-wp-hook.php(308): wpml_object_id_filter(Array, 'attachment', true) #4 /home/lemanagement/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #5 /home/lemanagement/public_html/wp-content/plugins/acfml/classes/class-wpml-acf-attachments.php(29): apply_filters('wpml_object_id', Array, 'attachment', true) #6 /home/lemanagement/public_html/wp-includes/class-wp-hook.php(310): WPML_ACF_Attachments->load_translated_attachment(Array) #7 /home/lemanagement/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters(Array, Array) #8 /home/lemanagement/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php(109): apply_filters_ref_array('acf/load_value/...', Array) #9 /home/lemanagement/public_html/wp-includes/class-wp-hook.php(308): _acf_apply_hook_variations(Array, 791024, Array) #10 /home/lemanagement/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #11 /home/lemanagement/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php(118): apply_filters('acf/load_value', Array, 791024, Array) #12 /home/lemanagement/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-group.php(104): acf_get_value(791024, Array) #13 /home/lemanagement/public_html/wp-includes/class-wp-hook.php(308): acf_field__group->load_value(Array, 791024, Array) #14 /home/lemanagement/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters(NULL, Array) #15 /home/lemanagement/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-hook-functions.php(109): apply_filters_ref_array('acf/load_value/...', Array) #16 /home/lemanagement/public_html/wp-includes/class-wp-hook.php(308): _acf_apply_hook_variations(NULL, 791024, Array) #17 /home/lemanagement/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) #18 /home/lemanagement/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-value-functions.php(118): apply_filters('acf/load_value', NULL, 791024, Array) #19 /home/lemanagement/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php(612): acf_get_value(791024, Array) #20 /home/lemanagement/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/forms/form-post.php(220): acf_render_fields(Array, 791024, 'div', 'label') #21 /home/lemanagement/public_html/wp-admin/includes/template.php(1409): ACF_Form_Post->render_meta_box(Object(WP_Post), Array) #22 /home/lemanagement/public_html/wp-admin/includes/post.php(2249): do_meta_boxes(Object(WP_Screen), 'normal', Object(WP_Post)) #23 /home/lemanagement/public_html/wp-admin/edit-form-blocks.php(316): the_block_editor_meta_boxes() #24 /home/lemanagement/public_html/wp-admin/post.php(187): require('/home/lemanagem...') #25 {main} thrown

November 16, 2022 at 11:40 pm #12477069

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Please upgrade WPML and it's add-ons to the latest version 4.5.14
https://wpml.org/downloads/

Let me know your results once done.

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