Title: Undefined variable &#8211; wordpress 5.0.3
Last modified: January 31, 2019

---

# Undefined variable – wordpress 5.0.3

 *  Resolved [admintg](https://wordpress.org/support/users/admintg/)
 * (@admintg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/)
 * I updated wordpress today to 5.0.3 and this message appeared “Notice: Undefined
   variable: ex in /home4/pornvi98/public_html/wp-content/plugins/multi-column-tag-
   map/mctagmap_functions.php on line 389”.
 * That´s a first with plugins… I´m newbie in wordpress environment… In this case…
   I have to alter the code by my own risk?
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-wordpress-5-0-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11153554)
 * Can you please post the shortcode you are using?
 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11153801)
 * Install version 15.0.5 and see if that fixes the issue.
 *  Thread Starter [admintg](https://wordpress.org/support/users/admintg/)
 * (@admintg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11154143)
 * Hi! The shortcode is [mctagmap show_pages=”no” columns=3 tag_count=”yes”].
 *  Thread Starter [admintg](https://wordpress.org/support/users/admintg/)
 * (@admintg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11154175)
 * And version 15.0.5 transformed my index in a page of errors… 1 per tag…
 * Warning: strpos() expects parameter 1 to be string, array given in /home4/pornvi98/
   public_html/wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on
   line 406
 * Warning: strpos(): needle is not a string or an integer in /home4/pornvi98/public_html/
   wp-content/plugins/multi-column-tag-map/mctagmap_functions.php on line 409
 * Errors in lines 406 and 409.
 *  Thread Starter [admintg](https://wordpress.org/support/users/admintg/)
 * (@admintg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11154195)
 * Just let me know if you need to see the page with errors.
    If not, I´ll remove
   the shortcode temporarily.
 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11154267)
 * crap, my bad. try version 15.0.6
 *     ```
       [mctagmap columns="3" tag_count="yes"]
       ```
   
    -  This reply was modified 7 years, 2 months ago by [tugbucket](https://wordpress.org/support/users/tugbucket/).
 *  Thread Starter [admintg](https://wordpress.org/support/users/admintg/)
 * (@admintg)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11154309)
 * Thanks, tugbucket!
    Everything fine now. Version 15.0.6 solved all errors. I 
   don´t need to set show_pages=”no” for tag index anymore?
 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/undefined-variable-wordpress-5-0-3/#post-11154317)
 * cool. glad it worked.
 * you only need show_pages=”yes” if you want to show pages. By default, the plugin
   shows tags, which is what you are wanting to do. It doesn’t hurt anything but
   it’s redundant.

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

The topic ‘Undefined variable – wordpress 5.0.3’ 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/)

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