Using Taxonomy term panels with several panes from views, I figured to create a fail safe when the argument is not a taxonomy tid.
I let views present all possible values, however I got an error code stating a wrong argument for an implode on line 88 of terms.inc.
The variable $names is only created when fetching the query, but in my case no results are given.
I added the variable as an empty array before running the query and the warning is fixed.

CommentFileSizeAuthor
#2 terms.inc_.minor_.patch485 bytesKoCo

Comments

merlinofchaos’s picture

Can you explain more precisely what you did to fix this or provide a patch? I'm having a little trouble following.

KoCo’s picture

StatusFileSize
new485 bytes

I don't think I made the patch right (meaning from the root folder of ctools).
So the location of the file, terms.inc is 'all/modules/ctools/plugins/contexts'.

When '$context->names' was created it couldn't implode a non-existing array. So I added an empty array before running the query.

Koen

merlinofchaos’s picture

Status: Active » Fixed

Heh, 9 months later this is committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.