Title: Undefined variable this
Last modified: September 1, 2016

---

# Undefined variable this

 *  [Tim Reeves](https://wordpress.org/support/users/tim-reeves/)
 * (@tim-reeves)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-this-1/)
 * Hi Matt,
 * I’m working with PHP7 and WP-DEBUG = true
 * And on the HTML output I get:
 * Notice: Undefined variable: this in …/foogallery-zoom-template/gallery-zoom.php
   on line 132
 * Notice: Trying to get property of non-object in …/foogallery/includes/class-thumbnails.
   php online 40
 * One pair of them for each picture.
 * Would be great if you could fix that, thanks!
 * Tim
 * [https://wordpress.org/plugins/foogallery-zoom-template/](https://wordpress.org/plugins/foogallery-zoom-template/)

The topic ‘Undefined variable this’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/foogallery-zoom-template_838a8e.svg)
 * [FooGallery ZOOM Template](https://wordpress.org/plugins/foogallery-zoom-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery-zoom-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery-zoom-template/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery-zoom-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery-zoom-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery-zoom-template/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Tim Reeves](https://wordpress.org/support/users/tim-reeves/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-this-1/)
 * Status: not resolved