Title: Error when using taxonomy attribute
Last modified: May 1, 2020

---

# Error when using taxonomy attribute

 *  [natelook](https://wordpress.org/support/users/natelook/)
 * (@natelook)
 * [6 years ago](https://wordpress.org/support/topic/error-when-using-taxonomy-attribute/)
 * I’m using this shortcode [mctagmap taxonomy=”test”] and I get the error: **Expected
   parameter 2 to be an array**
 * I did not have this error in version 16.0.4.
 * Any ideas on what happening here?

Viewing 1 replies (of 1 total)

 *  Plugin Author [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * (@tugbucket)
 * [6 years ago](https://wordpress.org/support/topic/error-when-using-taxonomy-attribute/#post-12768731)
 * Interesting. The only way I can get it to throw an error close to that is when
   my selected taxonomy doesn’t exist. On my test site, I have a taxonomy of “seasons”
   and when I use `[mctagmap taxonomy="seasons"]` I get the “Sorry, but no tags 
   were found” message because there are no posts in said taxonomy.
 * If I use a taxonomy that does not exist, like “bubbles” eg: `[mctagmap taxonomy
   ="bubbles"]`, I then get an error including _“… Argument #2 is not an array…”_
   because the taxonomy simply doesn’t exist.
 * Are you still seeing the “Sorry, but no tags were found” message as well?
    Can
   you provide a link to the page in question or a test page?
    -  This reply was modified 6 years ago by [tugbucket](https://wordpress.org/support/users/tugbucket/).
    -  This reply was modified 6 years ago by [tugbucket](https://wordpress.org/support/users/tugbucket/).

Viewing 1 replies (of 1 total)

The topic ‘Error when using taxonomy attribute’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [tugbucket](https://wordpress.org/support/users/tugbucket/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/error-when-using-taxonomy-attribute/#post-12768731)
 * Status: not resolved