Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2012 at 06:14 UTC
Updated:
14 Jan 2013 at 09:10 UTC
I'm overriding the default taxonomy page with a View in Drupal 7 using contextual filter "Content: Has taxonomy term ID. for the output I'm using a Galleriffic Gallery format, this works great.
I now want to use the 'taxonomy smartqueue' to sort by the position of nodes in the queue. For this I added a Relationship to Nodequeue in Advanced section, and used 'Nodequeue: Postion' in Sort criteria. However with this the View gets:
Warning: Illegal offset type in isset or empty in views_handler_field_prerender_list->render() (line 68 of views/handlers/views_handler_field_prerender_list.inc).
Has anyone come across this? Have you found a solution?
Comments
Comment #1
dawehnerIf you read the error message you will see the word "field" in there, but you only described how you have configured stuff like relationships/sorts.
One thing you could certainly do is to try out which of your fields actually causes the warning. In general it's probably always helpful to have a view export here.
Comment #2
jpdaut commentedThanks for the hint to look into $field, this helped me figure out my problem.
views_handler_field_prerender_list->render() could not retrieve $this->items[$field] bec of wrong type: $field was an array, not a string…
This gave me the hint that I did not have the proper branch of Nodequeue.
Indeed I’m using Views 7.x-3.5 but had Nodequeue 7.x-2.0-beta1 instead of the 7.x-3.x branch.
I installed Nodequeue 7.x-3.x-dev and all is well. Hope this helps others.
Comment #3
dawehnerGreat!