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: 

This topic contains 3 replies, has 3 voices.

Last updated by arnoldS-2 1 month, 3 weeks ago.

Assigned support staff: Bobby.

Author Posts
August 21, 2019 at 7:37 pm #4434811

Ad-Elit

Tell us what you are trying to do?
Im deleting images from the media library and get this error message:

Error in deleting.

Warning: array_key_exists(): The first argument should be either a string or an integer in /home/aregarden/sites/staging2/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-synchronization.class.php on line 60

If I upload an new image to the media library I can delete it without any errors but if I delete an older image I get this error.

What is the link to your site?
hidden link

August 21, 2019 at 11:58 pm #4435347

Bobby
Supporter

Languages: English (English )

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

Hello,

is this a multisite installation ?

It is not recommended that you network activate the plugin for different sites.

Please removed the network activation and only have the plugins activated per site, then let me know your results

August 26, 2019 at 8:26 pm #4461275

Ad-Elit

My issue is resolved now. Thank you!

August 26, 2019 at 8:31 pm #4461287

arnoldS-2

`why is this in my support archive