Title: Error when using shortcode
Last modified: September 19, 2017

---

# Error when using shortcode

 *  [mtraps](https://wordpress.org/support/users/mtraps/)
 * (@mtraps)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-using-shortcode/)
 * Hello, when I try using the shortcode on a post (since I don’t want the gallery
   to show up at the bottom) the page breaks after I update it and gievs me this
   error:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/a2pewpnas01_data03/11/3843511/html/wp-content/plugins/easy-image-
   gallery/includes/template-functions.php:287) in /home/content/a2pewpnas01_data03/
   11/3843511/html/wp-admin/post.php on line 197
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/a2pewpnas01_data03/11/3843511/html/wp-content/plugins/easy-image-
   gallery/includes/template-functions.php:287) in /home/content/a2pewpnas01_data03/
   11/3843511/html/wp-includes/pluggable.php on line 1210
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-using-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Stanko Metodiev](https://wordpress.org/support/users/metodiew/)
 * (@metodiew)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-using-shortcode/#post-9511290)
 * Hi,
 * Since this is the first time I’m seeing an issue like this with the shortcode,
   I’d like to see how do you use the shortcode?
 * Also, how many images you have in the gallery?
 * We are working on a new version which should be released soon but in the meanwhile,
   it would be awesome if we have more details.
 * Regards
 *  Thread Starter [mtraps](https://wordpress.org/support/users/mtraps/)
 * (@mtraps)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-using-shortcode/#post-9511299)
 * I only have 4 images in the gallery. This is the link to the page with the gallery.
   The page works but after I update it it gives me that error:
    [https://guidetoaurora.com/42-haida-drive-aurora-ontario/](https://guidetoaurora.com/42-haida-drive-aurora-ontario/)
 *  Plugin Author [Stanko Metodiev](https://wordpress.org/support/users/metodiew/)
 * (@metodiew)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-using-shortcode/#post-9514700)
 * Thanks for adding more details here. Like I mentioned in my previous comment,
   the next version is almost ready and we are doing the final testing.
 * We are going to introduce a new update where you’ll be able to add more than 
   one gallery per post/page and the issue will be resolved there.
 * Stay tuned! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when using shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-image-gallery_9da6b0.svg)
 * [Easy Image Gallery](https://wordpress.org/plugins/easy-image-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-image-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-image-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-image-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-image-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-image-gallery/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Stanko Metodiev](https://wordpress.org/support/users/metodiew/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/error-when-using-shortcode/#post-9514700)
 * Status: not resolved