Title: Uploading images causes errors
Last modified: April 4, 2024

---

# Uploading images causes errors

 *  [jtg](https://wordpress.org/support/users/favdes/)
 * (@favdes)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/uploading-images-causes-errors/)
 * Hello,
 * This is an excellent plugin and I really hope you continue to develop it because
   it is the only one that I have found that just works the way we hoped it would.
 * My only issue is that each time I upload an image and click on the ‘Upload’ button,
   I get the error:
 * **Warning**: Undefined array key “uig_masonry_layout” in **wp-content/plugins/
   ultimate-image-gallery/includes/admin.php** on line **83**
 * **Warning**: Undefined array key “uig_display_image_title” in **wp-content/plugins/
   ultimate-image-gallery/includes/admin.php** on line **92**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /wp-content/plugins/ultimate-image-gallery/includes/admin.php:83) 
   in **wp-includes/pluggable.php** on line **1435**
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at wp-content/plugins/ultimate-image-gallery/includes/admin.php:83) in**
   wp-includes/pluggable.php** on line **1438**
 * The image does upload so if I click the back button in my browser, I am taken
   back to the gallery page and the new image is listed with the original ones.

The topic ‘Uploading images causes errors’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-image-gallery/assets/icon-256x256.png?rev=2882906)
 * [Ultimate Image Gallery - Image Zoom, Viewer, Lightbox and Filter Gallery](https://wordpress.org/plugins/ultimate-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-image-gallery/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jtg](https://wordpress.org/support/users/favdes/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/uploading-images-causes-errors/)
 * Status: not resolved