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
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
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.