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: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar Ali 1 year ago.

Assisted by: Waqar Ali.

Author Posts
November 8, 2023 at 8:37 am #14753623

coinQ

PHP Warning: Undefined array key 2 in /directory/wp-content/plugins/wpml-media-translation/classes/class-wpml-media-attachment-by-url-query.php on line 163

PHP Warning: Undefined array key 0 in /directory/wp-content/plugins/wpml-media-translation/classes/class-wpml-media-attachment-by-url-query.php on line 99

the key will change from 0 to 17 we think but the error occurs in the same file on the mentioned lines

November 9, 2023 at 12:01 pm #14766131

Waqar Ali

Hi,

Thank you for contacting us and I'd be happy to assist.

We've recently received another report about this warning, but we couldn't reproduce this on a test website.

In order to proceed with this troubleshooting, a clone/snapshot of your website where this warning can be seen, will be very useful. You can either create this clone/snapshot and share it with us or alternatively, with your permission, we can create it on our own.
( we'll need a temporary administrator level user access details, to create and download it )

For this purpose, we typically recommend using the free plugin "Duplicator." If you are already familiar with how Duplicator works ( https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To assist you further, please follow these instructions:
Watch the Duplicator instructions video: hidden link

Refer to the instructions provided by WPML on how to provide supporters a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

If the archive file exceeds 400MB in size, please utilize Duplicator's file filters to exclude the cache, wp-uploads directory, media, and archive files.

Once you have the archive file, please share the link with us. You can use services such as Google Drive, Dropbox, or similar platforms as the snapshot file will likely be large.

Please note that your next reply will be private, visible only to you and me. You can paste the link to the file there or share the temporary admin access details. Rest assured that once the issue is resolved, I will delete the local site.

regards,
Waqar

The topic ‘[Closed] PHP Warning! Undefined Array!’ is closed to new replies.