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

Supporter timezone: America/Los_Angeles (GMT-08:00)


This topic contains 5 replies, has 2 voices.

Last updated by Bobby 2 months, 3 weeks ago.

Assisted by: Bobby.

Author Posts
November 30, 2023 at 2:04 pm #14963507


When doing bulk action for several Articles in Second language and trying to set them in draft we will get to this link: hidden link)

we got:

Ein Fehler vom Typ E_ERROR wurde in der Zeile 319 der Datei /www/htdocs/w019fe59/ verursacht. Fehlermeldung: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, bool given in /www/htdocs/w019fe59/
Stack trace:
#0 /www/htdocs/w019fe59/ array_filter(false)
#1 /www/htdocs/w019fe59/ WPML_Element_Translation_Package->add_custom_field_contents(Array, NULL, Array, NULL)
#2 /www/htdocs/w019fe59/ WPML_Element_Translation_Package->create_translation_package(NULL)
#3 /www/htdocs/w019fe59/ WPML_TM_Action_Helper->create_translation_package('10677')
#4 /www/htdocs/w019fe59/ WPML_TM_Post_Actions->save_post_actions(10684, Object(WP_Post), false)
#5 /www/htdocs/w019fe59/ wpml_tm_save_post(10684, Object(WP_Post), false)
#6 /www/htdocs/w019fe59/ WP_Hook->apply_filters('', Array)
#7 /www/htdocs/w019fe59/ WP_Hook->do_action(Array)
#8 /www/htdocs/w019fe59/ do_action('wpml_tm_save_po...', 10684, Object(WP_Post), false)
#9 /www/htdocs/w019fe59/ WPML_Post_Translation->after_save_post('2412', Array, 'de', 'en')
#10 /www/htdocs/w019fe59/ WPML_Admin_Post_Actions->save_post_actions(10684, Object(WP_Post))
#11 /www/htdocs/w019fe59/ WP_Hook->apply_filters(NULL, Array)
#12 /www/htdocs/w019fe59/ WP_Hook->do_action(Array)
#13 /www/htdocs/w019fe59/ do_action('save_post', 10684, Object(WP_Post), true)
#14 /www/htdocs/w019fe59/ wp_insert_post(Array, false, true)
#15 /www/htdocs/w019fe59/ wp_update_post(Array)
#16 /www/htdocs/w019fe59/ bulk_edit_posts(Array)
#17 {main}

November 30, 2023 at 10:57 pm #14967977


Languages: English (English )

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


Please review the following errata documentation and let me know your results after using the workaround

December 1, 2023 at 3:50 am #14968353



we don't have such a plugin with name "Give" active on our website. So this workaround won't help, as there is not such plugin folder existing.


December 1, 2023 at 10:02 pm #14976337


Languages: English (English )

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

I see the plugin WP Rollback by the same company, what are your results as a test if you deactivate it temporarily, does it help?

If it does not I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose:
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,

December 2, 2023 at 5:05 am #14976619


Hi Bobby,

we are short before launch, so the idea would be to check this on our staging. But weird enough it works on staging.

Here are 2 temp logins where you can check.

Do you a spot difference which could cause this (apart from plugin versions):


December 5, 2023 at 12:26 am #14991969


Languages: English (English )

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

Hi there,

Please note that due to GDPR laws we have to have the access details shared in the private field reply otherwise we cannot use them.

To make sure we move the issue forward I did take a quick look and could not spot a specific reason this would not work on your live site vs the staging.

The version differences would be a likely candidate as the staging site is using the same server with even less resources therefore that would not be the case here.

I have enabled the private field reply once again, In the meantime please do review the versions and make sure everything is up to date and using the latest versions possible

The topic ‘[Closed] Typ E_ERROR in class-wpml-element-translation-package PHP file’ is closed to new replies.