When activating tvi, I got an error whenever I visited the taxonomy/term/tid pages. I had the default taxonomy/term view activated.

Here is a patch.

CommentFileSizeAuthor
#2 tvi_bug1.png36.79 KBpeter.milan
fix_tvi_render_view.patch719 bytesjackbravo

Comments

kevinquillen’s picture

Status: Needs review » Postponed (maintainer needs more info)

I don't get this error- and I have two views activated both the default taxonomy/term/% and a TVI View also with taxonomy/term/% path. May have been fixed along the way.

Update to the latest version and let me know if this persists.

peter.milan’s picture

StatusFileSize
new36.79 KB

Hello,
I have the same problem here, using:

TVI: Taxonomy View Integrator 7.x-1.0-alpha2

Attached screenshot.

Screenshot

peter.milan’s picture

if I dump mentioned line,

      var_dump($tid);
      $view->set_arguments(array($tid->tid, $depth));

it has following content:

string '2' (length=1)

I did not research whole code, but according to this dump I would agree with jackbravos diff.

jeeba’s picture

I have the same issue with the last dev. But I discovered a workaround.

In a Vocabulary with five terms, one of them as a view override. That term worked fine but all the other terms throws me that error. So I put a view in the vocabulary (I use the taxonomy term example that comes with views) and it started to work ok. Hope it help someone

duaelfr’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I just pushed a fix for this in the 7.x branch.
It will be available in the next dev release.

Reopen if the bug remains.