Title: Undefined variable notice
Last modified: December 1, 2017

---

# Undefined variable notice

 *  Resolved [maxxd](https://wordpress.org/support/users/maxxd/)
 * (@maxxd)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-notice-8/)
 * With the 2.7.4 release, there’s now an undefined variable notice for ‘position’
   from **/robo-gallery/includes/frontend/extensions/core/roboGalleryCore.php** 
   on lines 47, 51, 63, and 67.

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

 *  [jomo](https://wordpress.org/support/users/jonathanmoorebcsorg/)
 * (@jonathanmoorebcsorg)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-notice-8/#post-9742876)
 * I was about to report the same, it’s a typo:
 *     ```
       	public function addHTML( $htmlCode, $postion = 'after'){
   
       		switch ($position) {
       ```
   
 * $position is not defined because the parameter $postion is spelt wrong…
 *  Plugin Author [robosoft](https://wordpress.org/support/users/robosoft/)
 * (@robosoft)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-notice-8/#post-9779579)
 * Thank you very much for your feedback! Today, in gallery version 2.7.5 this notices
   will be fixed. It’s already done, please update your gallery version to 2.7.5
   when it’s gonna be published.

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

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

 * ![](https://ps.w.org/robo-gallery/assets/icon-256x256.gif?rev=2291186)
 * [Robo Gallery - Photo & Image Slider](https://wordpress.org/plugins/robo-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/robo-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/robo-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/robo-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/robo-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/robo-gallery/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [robosoft](https://wordpress.org/support/users/robosoft/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-notice-8/#post-9779579)
 * Status: resolved