• natelook

    (@natelook)


    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

    (@tugbucket)

    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.
    • This reply was modified 6 years ago by tugbucket.
Viewing 1 replies (of 1 total)

The topic ‘Error when using taxonomy attribute’ is closed to new replies.