Title: Undefined variable
Last modified: July 4, 2018

---

# Undefined variable

 *  Resolved [uncovery](https://wordpress.org/support/users/uncovery/)
 * (@uncovery)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-57/)
 * I am getting this error:
 * Notice: Undefined variable: display in …/wp-content/plugins/multi-column-tag-
   map/mctagmap.php on line 136
 * Thanks!

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

 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-57/#post-10462871)
 * I’m unable to reproduce this using version 15.0.1 and WP version 4.9.6.
 *  Thread Starter [uncovery](https://wordpress.org/support/users/uncovery/)
 * (@uncovery)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/undefined-variable-57/#post-10463924)
 * I installed today from the WordPress plugin list. I have 15.0.1 installed on 
   WP 4.9.6.
 * Here is a pastebin of the code that I found to cause the error:
 * [http://pastebin.centos.org/901841/](http://pastebin.centos.org/901841/)
 * Line 17 in the paste is the same as line 136 in the full file.
    AS you can see,
   between the start of the function (line 5) and line 17, the variable $display
   is not initialized or used. So it’s normal that it throws this error. adding 
   something like $display = false; above resolves the issue.
 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-57/#post-10586445)
 * v15.0.2 has this update. Thanks for the help!

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/multi-column-tag-map_9e2525.svg)
 * [Multi-column Tag Map](https://wordpress.org/plugins/multi-column-tag-map/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multi-column-tag-map/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multi-column-tag-map/)
 * [Active Topics](https://wordpress.org/support/plugin/multi-column-tag-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multi-column-tag-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multi-column-tag-map/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-57/#post-10586445)
 * Status: resolved