Title: Warning: Undefined array key &#8220;file&#8221;
Last modified: September 13, 2023

---

# Warning: Undefined array key “file”

 *  [domoxoxo](https://wordpress.org/support/users/domoxoxo/)
 * (@domoxoxo)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-file-2/)
 * Hey! 
   Looking for help with issue that i have at my website: [_redundant link
   redacted_,_ see below_]
 * At sites where i have forminator forms there is information: 
   **Warning**: Undefined
   array key “file” in **/home/platne/[acct name here]/public_html/autoinstalator/
   certyfikat-cieplny.pl/wordpress15727/wp-includes/media.php** on line **1712**
 * [https://certyfikat-cieplny.pl/mieszkanie/](https://certyfikat-cieplny.pl/mieszkanie/)
 * ![](https://i0.wp.com/certyfikat-cieplny.pl/wp-content/uploads/2023/09/Zrzut-
   ekranu-2023-09-12-o-13.27.55.png?ssl=1)
 * When i off Forminator nothing changed. Any ideas? 
   Many thanks! Dominik
    -  This topic was modified 2 years, 9 months ago by [bcworkz](https://wordpress.org/support/users/bcworkz/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-undefined-array-key-file-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-file-2/#post-17048784)
 * The error is because certain meta data related to images is missing. It could
   be due to faulty data or faulty theme or plugin code. This is related to the 
   process of establishing srcset and sizes attributes for every image. Your sun
   logo image has srcset attributes, but the others on the page do not. The meta
   data of any of those could be faulty. You may need to re-upload and reinsert 
   the images if their meta data is faulty.
 * Before going through all of that, lets make sure this is not due to theme or 
   plugin code. Please switch to a default Twenty* theme and deactivate all plugins.
   While investigating the cause, disable any server side caching, including caching
   by any reverse proxy service that might be in place. Also flush your broswer’s
   cache to ensure you’re not seeing stale data.
 * If the warnings now no longer occur, your image meta data is fine, the problem
   is in one of the modules you deactivated. Restore them, one at a time, testing
   after each, to identify the responsible module.

Viewing 1 replies (of 1 total)

The topic ‘Warning: Undefined array key “file”’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [key](https://wordpress.org/support/topic-tag/key/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/warning-undefined-array-key-file-2/#post-17048784)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
