Title: Photo Gallery Warning undefined variable
Last modified: August 22, 2022

---

# Photo Gallery Warning undefined variable

 *  Resolved [aentebuesi](https://wordpress.org/support/users/aentebuesi/)
 * (@aentebuesi)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/photo-gallery-warning-undefined-variable/)
 * Hello everybody
    since a few days we recieve a warning if we want to open a Photo
   created with “Photo Gallery” version Version 1.7.3. The exact warning says: Warning:
   Undefined variable $instagram_post_width in /home/… …/wp-content/plugins/photo-
   gallery/frontend/views/BWGViewGalleryBox.php on line 614. There is also a second
   warning wich refers to line 615 instead of 614. The warning is just in this specific
   gallery, every other gallery is working. I reuploaded the pictures, converted
   them from jpg to png and back, gave new names, etc… nothing worked. Is this a
   known problem? Anybody how has the same issue? Thanks for help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphoto-gallery-warning-undefined-variable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * (@nikitaanisimov)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/photo-gallery-warning-undefined-variable/#post-15942050)
 * Dear [@aentebuesi](https://wordpress.org/support/users/aentebuesi/), hello,
 * Thank you for contacting us and reporting the issue – our plugin support is now
   investigating it,
 * I shall get back to you as soon as there is a solution or if any additional details
   are required from your side,
 * Have a pleasant day!
 *  Plugin Support [Nik](https://wordpress.org/support/users/nikitaanisimov/)
 * (@nikitaanisimov)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/photo-gallery-warning-undefined-variable/#post-15942308)
 * Dear [@aentebuesi](https://wordpress.org/support/users/aentebuesi/), hello,
 * Thank you very much for reporting the issue – our team was able to diagnose it
   and it will be fixed in the next release of the plugin, approximate patch ETA–
   next week
 * Please, stay tuned for the updates and have a marvelous day!
 *  Thread Starter [aentebuesi](https://wordpress.org/support/users/aentebuesi/)
 * (@aentebuesi)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/photo-gallery-warning-undefined-variable/#post-15944349)
 * Dear [@nikitaanisimov](https://wordpress.org/support/users/nikitaanisimov/)
 * Thank you very much for your reply. We look forward to the update.
 * Have a nice day!

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

The topic ‘Photo Gallery Warning undefined variable’ is closed to new replies.

 * ![](https://ps.w.org/photo-gallery/assets/icon-256x256.png?rev=2068745)
 * [Photo Gallery by 10Web - Mobile-Friendly Image Gallery](https://wordpress.org/plugins/photo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-gallery/reviews/)

## Tags

 * [variable](https://wordpress.org/support/topic-tag/variable/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 3 replies
 * 2 participants
 * Last reply from: [aentebuesi](https://wordpress.org/support/users/aentebuesi/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/photo-gallery-warning-undefined-variable/#post-15944349)
 * Status: resolved