Title: Undefined variable PHP notice
Last modified: December 4, 2016

---

# Undefined variable PHP notice

 *  Resolved [Henry Wright](https://wordpress.org/support/users/henrywright/)
 * (@henrywright)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-php-notice/)
 * Using the `[wppa][/wppa]` shortcode to output a gallery in a page, I seem to 
   get a PHP notice:
 * `Notice: Undefined variable: cnt in wp-content/plugins/wp-photo-album-plus/wppa-
   album-covers.php on line 1510`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-php-notice/#post-8514120)
 * Thanx for the report. This is due to an initialisation error ( will be fixed 
   in the next version ).
    Just set Table II-E8: _Count on title_ to a different
   value as it is now, and back to what it should be. This will fix it.

Viewing 1 replies (of 1 total)

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

 * ![](https://s.w.org/plugins/geopattern-icon/wp-photo-album-plus.svg)
 * [WP Photo Album Plus](https://wordpress.org/plugins/wp-photo-album-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-photo-album-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-photo-album-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-photo-album-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-photo-album-plus/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/undefined-variable-php-notice/#post-8514120)
 * Status: resolved