I have 3 different taxonomy vocabularies attached to a node type.
I have a finder page set up as a views finder and a finder element using checkboxes.

On my finder page an error shows up once for each term in the vocabulary (instead of the checkboxes).

This is the error:
Notice: Undefined property: stdClass::$unknown in finder_views_plugin_style_php_array_finder->render() (line 28 of /c/develop/bob/sites/all/modules/finder/modules/finder_views/includes/finder_views_plugin_style_php_array_finder.inc).

It also happens with the other types of finder elements.

Screenshot attached.

Any help appreciated. :)

CommentFileSizeAuthor
#5 finder-d7-1270150.patch7.82 KBdanielb
error.png115.86 KBthajaphio

Comments

danielb’s picture

Yeah I think I winged it a bit in that section during the port, will look into it.

skitten’s picture

+1

danielb’s picture

OK turns out this results from basing the queries on 'filter' rather than 'field'. You can't then display the 'filter' in the choices list.

Easy solution is to switch it back to fields, but then we have the opposite problem of certain 'fields' not actually being database fields.

I'm looking for another solution...

danielb’s picture

Priority: Major » Critical

Just a note to myself; I'm experimenting with some solutions on my test site which is based on 7.x-1.5, and if that works out I'll need to create a patch out of this rather than copying the code over, as there are some inconsistencies between what is in git and what I'm working with.

danielb’s picture

Version: 7.x-1.5 » 6.x-1.x-dev
StatusFileSize
new7.82 KB

committed a fix to 7
but I should port it to 6
patch for 7 attached which i will use to base the backport on.

danielb’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

danielb’s picture

Component: Finder Views (views.module integration) » Code
Status: Closed (fixed) » Active

I'm getting these errors again, wtf

danielb’s picture

Status: Active » Closed (fixed)
danielb’s picture

Issue summary: View changes

typo